Skip to content

Commit bdbb93e

Browse files
committed
fix tests for v8.0.0
Signed-off-by: Johannes Feichtner <[email protected]>
1 parent 86ed153 commit bdbb93e

21 files changed

+10
-511
lines changed

tests/_data/snapshots/enum_LifecyclePhase-1.2.json.bin

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
{
22
"metadata": {
3-
"timestamp": "2023-01-07T13:44:32.312678+00:00",
4-
"tools": [
5-
{
6-
"name": "cyclonedx-python-lib",
7-
"vendor": "CycloneDX",
8-
"version": "TESTING"
9-
}
10-
]
3+
"timestamp": "2023-01-07T13:44:32.312678+00:00"
114
},
125
"serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac",
136
"version": 1,

tests/_data/snapshots/enum_LifecyclePhase-1.2.xml.bin

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,5 @@
22
<bom xmlns="http://cyclonedx.org/schema/bom/1.2" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1">
33
<metadata>
44
<timestamp>2023-01-07T13:44:32.312678+00:00</timestamp>
5-
<tools>
6-
<tool>
7-
<vendor>CycloneDX</vendor>
8-
<name>cyclonedx-python-lib</name>
9-
<version>TESTING</version>
10-
</tool>
11-
</tools>
125
</metadata>
136
</bom>

tests/_data/snapshots/enum_LifecyclePhase-1.3.json.bin

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
{
22
"metadata": {
3-
"timestamp": "2023-01-07T13:44:32.312678+00:00",
4-
"tools": [
5-
{
6-
"name": "cyclonedx-python-lib",
7-
"vendor": "CycloneDX",
8-
"version": "TESTING"
9-
}
10-
]
3+
"timestamp": "2023-01-07T13:44:32.312678+00:00"
114
},
125
"serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac",
136
"version": 1,

tests/_data/snapshots/enum_LifecyclePhase-1.3.xml.bin

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,5 @@
22
<bom xmlns="http://cyclonedx.org/schema/bom/1.3" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1">
33
<metadata>
44
<timestamp>2023-01-07T13:44:32.312678+00:00</timestamp>
5-
<tools>
6-
<tool>
7-
<vendor>CycloneDX</vendor>
8-
<name>cyclonedx-python-lib</name>
9-
<version>TESTING</version>
10-
</tool>
11-
</tools>
125
</metadata>
136
</bom>

tests/_data/snapshots/enum_LifecyclePhase-1.4.json.bin

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,6 @@
11
{
22
"metadata": {
3-
"timestamp": "2023-01-07T13:44:32.312678+00:00",
4-
"tools": [
5-
{
6-
"externalReferences": [
7-
{
8-
"type": "build-system",
9-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/actions"
10-
},
11-
{
12-
"type": "distribution",
13-
"url": "https://pypi.org/project/cyclonedx-python-lib/"
14-
},
15-
{
16-
"type": "documentation",
17-
"url": "https://cyclonedx-python-library.readthedocs.io/"
18-
},
19-
{
20-
"type": "issue-tracker",
21-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/issues"
22-
},
23-
{
24-
"type": "license",
25-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE"
26-
},
27-
{
28-
"type": "release-notes",
29-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md"
30-
},
31-
{
32-
"type": "vcs",
33-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib"
34-
},
35-
{
36-
"type": "website",
37-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/#readme"
38-
}
39-
],
40-
"name": "cyclonedx-python-lib",
41-
"vendor": "CycloneDX",
42-
"version": "TESTING"
43-
}
44-
]
3+
"timestamp": "2023-01-07T13:44:32.312678+00:00"
454
},
465
"serialNumber": "urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac",
476
"version": 1,

tests/_data/snapshots/enum_LifecyclePhase-1.4.xml.bin

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,5 @@
22
<bom xmlns="http://cyclonedx.org/schema/bom/1.4" serialNumber="urn:uuid:1441d33a-e0fc-45b5-af3b-61ee52a88bac" version="1">
33
<metadata>
44
<timestamp>2023-01-07T13:44:32.312678+00:00</timestamp>
5-
<tools>
6-
<tool>
7-
<vendor>CycloneDX</vendor>
8-
<name>cyclonedx-python-lib</name>
9-
<version>TESTING</version>
10-
<externalReferences>
11-
<reference type="build-system">
12-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/actions</url>
13-
</reference>
14-
<reference type="distribution">
15-
<url>https://pypi.org/project/cyclonedx-python-lib/</url>
16-
</reference>
17-
<reference type="documentation">
18-
<url>https://cyclonedx-python-library.readthedocs.io/</url>
19-
</reference>
20-
<reference type="issue-tracker">
21-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/issues</url>
22-
</reference>
23-
<reference type="license">
24-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE</url>
25-
</reference>
26-
<reference type="release-notes">
27-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md</url>
28-
</reference>
29-
<reference type="vcs">
30-
<url>https://github.com/CycloneDX/cyclonedx-python-lib</url>
31-
</reference>
32-
<reference type="website">
33-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/#readme</url>
34-
</reference>
35-
</externalReferences>
36-
</tool>
37-
</tools>
385
</metadata>
396
</bom>

tests/_data/snapshots/enum_LifecyclePhase-1.5.json.bin

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -23,48 +23,7 @@
2323
"phase": "pre-build"
2424
}
2525
],
26-
"timestamp": "2023-01-07T13:44:32.312678+00:00",
27-
"tools": [
28-
{
29-
"externalReferences": [
30-
{
31-
"type": "build-system",
32-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/actions"
33-
},
34-
{
35-
"type": "distribution",
36-
"url": "https://pypi.org/project/cyclonedx-python-lib/"
37-
},
38-
{
39-
"type": "documentation",
40-
"url": "https://cyclonedx-python-library.readthedocs.io/"
41-
},
42-
{
43-
"type": "issue-tracker",
44-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/issues"
45-
},
46-
{
47-
"type": "license",
48-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE"
49-
},
50-
{
51-
"type": "release-notes",
52-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md"
53-
},
54-
{
55-
"type": "vcs",
56-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib"
57-
},
58-
{
59-
"type": "website",
60-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/#readme"
61-
}
62-
],
63-
"name": "cyclonedx-python-lib",
64-
"vendor": "CycloneDX",
65-
"version": "TESTING"
66-
}
67-
]
26+
"timestamp": "2023-01-07T13:44:32.312678+00:00"
6827
},
6928
"properties": [
7029
{

tests/_data/snapshots/enum_LifecyclePhase-1.5.xml.bin

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -25,39 +25,6 @@
2525
<phase>pre-build</phase>
2626
</lifecycle>
2727
</lifecycles>
28-
<tools>
29-
<tool>
30-
<vendor>CycloneDX</vendor>
31-
<name>cyclonedx-python-lib</name>
32-
<version>TESTING</version>
33-
<externalReferences>
34-
<reference type="build-system">
35-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/actions</url>
36-
</reference>
37-
<reference type="distribution">
38-
<url>https://pypi.org/project/cyclonedx-python-lib/</url>
39-
</reference>
40-
<reference type="documentation">
41-
<url>https://cyclonedx-python-library.readthedocs.io/</url>
42-
</reference>
43-
<reference type="issue-tracker">
44-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/issues</url>
45-
</reference>
46-
<reference type="license">
47-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE</url>
48-
</reference>
49-
<reference type="release-notes">
50-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md</url>
51-
</reference>
52-
<reference type="vcs">
53-
<url>https://github.com/CycloneDX/cyclonedx-python-lib</url>
54-
</reference>
55-
<reference type="website">
56-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/#readme</url>
57-
</reference>
58-
</externalReferences>
59-
</tool>
60-
</tools>
6128
</metadata>
6229
<properties>
6330
<property name="key1">val1</property>

tests/_data/snapshots/enum_LifecyclePhase-1.6.json.bin

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -23,48 +23,7 @@
2323
"phase": "pre-build"
2424
}
2525
],
26-
"timestamp": "2023-01-07T13:44:32.312678+00:00",
27-
"tools": [
28-
{
29-
"externalReferences": [
30-
{
31-
"type": "build-system",
32-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/actions"
33-
},
34-
{
35-
"type": "distribution",
36-
"url": "https://pypi.org/project/cyclonedx-python-lib/"
37-
},
38-
{
39-
"type": "documentation",
40-
"url": "https://cyclonedx-python-library.readthedocs.io/"
41-
},
42-
{
43-
"type": "issue-tracker",
44-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/issues"
45-
},
46-
{
47-
"type": "license",
48-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE"
49-
},
50-
{
51-
"type": "release-notes",
52-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md"
53-
},
54-
{
55-
"type": "vcs",
56-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib"
57-
},
58-
{
59-
"type": "website",
60-
"url": "https://github.com/CycloneDX/cyclonedx-python-lib/#readme"
61-
}
62-
],
63-
"name": "cyclonedx-python-lib",
64-
"vendor": "CycloneDX",
65-
"version": "TESTING"
66-
}
67-
]
26+
"timestamp": "2023-01-07T13:44:32.312678+00:00"
6827
},
6928
"properties": [
7029
{

tests/_data/snapshots/enum_LifecyclePhase-1.6.xml.bin

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -25,39 +25,6 @@
2525
<phase>pre-build</phase>
2626
</lifecycle>
2727
</lifecycles>
28-
<tools>
29-
<tool>
30-
<vendor>CycloneDX</vendor>
31-
<name>cyclonedx-python-lib</name>
32-
<version>TESTING</version>
33-
<externalReferences>
34-
<reference type="build-system">
35-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/actions</url>
36-
</reference>
37-
<reference type="distribution">
38-
<url>https://pypi.org/project/cyclonedx-python-lib/</url>
39-
</reference>
40-
<reference type="documentation">
41-
<url>https://cyclonedx-python-library.readthedocs.io/</url>
42-
</reference>
43-
<reference type="issue-tracker">
44-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/issues</url>
45-
</reference>
46-
<reference type="license">
47-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/LICENSE</url>
48-
</reference>
49-
<reference type="release-notes">
50-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CHANGELOG.md</url>
51-
</reference>
52-
<reference type="vcs">
53-
<url>https://github.com/CycloneDX/cyclonedx-python-lib</url>
54-
</reference>
55-
<reference type="website">
56-
<url>https://github.com/CycloneDX/cyclonedx-python-lib/#readme</url>
57-
</reference>
58-
</externalReferences>
59-
</tool>
60-
</tools>
6128
</metadata>
6229
<properties>
6330
<property name="key1">val1</property>

0 commit comments

Comments
 (0)