Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
14f3cf9
tests: enum value range
jkowalleck Nov 28, 2023
fdc8c9d
tests: enum tidy
jkowalleck Nov 28, 2023
3b46f76
tests: enum Encoding
jkowalleck Nov 28, 2023
ae2a87a
tests: enums
jkowalleck Nov 28, 2023
878b846
tests: enums
jkowalleck Nov 28, 2023
8ebcdbe
tests: enums
jkowalleck Nov 28, 2023
68586ce
tests: enums
jkowalleck Nov 28, 2023
20d7a93
tests: enums
jkowalleck Nov 28, 2023
e5fcfa6
tests: enums
jkowalleck Nov 28, 2023
4791e49
tests: enums
jkowalleck Nov 28, 2023
989e240
tests: enums
jkowalleck Nov 28, 2023
b842293
tidy
jkowalleck Nov 28, 2023
9ee9676
add enum's `@serializable.serializable_enum`
jkowalleck Nov 29, 2023
024737f
enums filter: HashType
jkowalleck Nov 29, 2023
cf55379
tidy
jkowalleck Nov 29, 2023
0563167
tidy
jkowalleck Nov 29, 2023
e47afd4
tidy
jkowalleck Nov 29, 2023
a34bf69
tidy
jkowalleck Nov 29, 2023
2ce07a7
tidy
jkowalleck Nov 29, 2023
a64ebfc
bump py-serializable
jkowalleck Nov 29, 2023
117b547
enums migrate: ExternalReferenceType
jkowalleck Nov 29, 2023
1452e2a
enums migrate: ExternalReferenceType
jkowalleck Nov 29, 2023
63aca98
enum migrate: VulnerabilityScoreSource
jkowalleck Nov 29, 2023
97d3983
enum migrate: VulnerabilityScoreSource
jkowalleck Nov 29, 2023
1f7e6d3
enums migrate: ComponentScope
jkowalleck Nov 30, 2023
c0324d3
enums migrate: ComponentScope
jkowalleck Nov 30, 2023
ee3257f
tests: fix enum: DataFlow
jkowalleck Nov 30, 2023
932720e
more precise serialization errors
jkowalleck Nov 30, 2023
24cf9d0
handle CompnentType
jkowalleck Nov 30, 2023
da7ce56
test: raised on handle CompnentType
jkowalleck Nov 30, 2023
00497d6
tidy
jkowalleck Nov 30, 2023
0f83621
reprod
jkowalleck Nov 30, 2023
3661af8
cleanup
jkowalleck Nov 30, 2023
181f531
cleanup
jkowalleck Nov 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tidy
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Nov 30, 2023
commit 00497d69ebead7488d6435d48e0eed0bfbc20d83
2 changes: 1 addition & 1 deletion tests/test_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class _DP_ComponentType(): # noqa: N801
JSON_SCHEMA_POINTER = ('definitions', 'component', 'properties', 'type')

@classmethod
def unsupported_cases(cls) -> Generator[Tuple[str, Any, ...], None, None]:
def unsupported_cases(cls) -> Generator[Tuple[str, OutputFormat, SchemaVersion, ComponentType], None, None]:
for name, of, sv in NAMED_OF_SV:
if OutputFormat.XML is of:
schema_cases = set(dp_cases_from_xml_schema(SCHEMA_XML[sv], cls.XML_SCHEMA_XPATH))
Expand Down