Skip to content

Commit 88b3411

Browse files
committed
Fixed output tests
CPE was still in the wrong position in one of the tests - fixed Signed-off-by: Jens Lucius <[email protected]>
1 parent 57bdbeb commit 88b3411

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/fixtures/bom_v1.3_setuptools_with_cpe.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"type": "library",
2020
"name": "setuptools",
2121
"version": "50.3.2",
22-
"purl": "pkg:pypi/[email protected]?extension=tar.gz",
2322
"cpe": "cpe:2.3:a:python:setuptools:50.3.2:*:*:*:*:*:*:*",
23+
"purl": "pkg:pypi/[email protected]?extension=tar.gz",
2424
"bom-ref": "pkg:pypi/[email protected]?extension=tar.gz",
2525
"licenses": [
2626
{

tests/fixtures/bom_v1.4_setuptools_with_cpe.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"type": "library",
5454
"name": "setuptools",
5555
"version": "50.3.2",
56-
"purl": "pkg:pypi/[email protected]?extension=tar.gz",
5756
"cpe": "cpe:2.3:a:python:setuptools:50.3.2:*:*:*:*:*:*:*",
57+
"purl": "pkg:pypi/[email protected]?extension=tar.gz",
5858
"bom-ref": "pkg:pypi/[email protected]?extension=tar.gz"
5959
}
6060
]

tests/fixtures/bom_v1.4_setuptools_with_cpe.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
<component type="library" bom-ref="pkg:pypi/[email protected]?extension=tar.gz">
4141
<name>setuptools</name>
4242
<version>50.3.2</version>
43+
<cpe>cpe:2.3:a:python:setuptools:50.3.2:*:*:*:*:*:*:*</cpe>
4344
<purl>pkg:pypi/[email protected]?extension=tar.gz</purl>
44-
<cpe>cpe:2.3:a:python:setuptools:50.3.2:*:*:*:*:*:*:*</cpe>
4545
</component>
4646
</components>
4747
</bom>

0 commit comments

Comments
 (0)