Skip to content

Commit 7c4ec7e

Browse files
committed
Fix test: warning only
Signed-off-by: Marc-Etienne Vargenau <[email protected]>
1 parent 3a02221 commit 7c4ec7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/openchain_telco_sbom_validator/unittests/test_validator_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_nok_purls():
1515
v = validator.Validator()
1616
result, problems = v.validate(filePath = "sboms/unittest-sbom-12.spdx", strict_url_check=True)
1717
print(f"{problems[0].ErrorType}, {problems[0].Reason}, {problems[0].SPDX_ID}, {problems[0].PackageName}")
18-
assert result == False
18+
assert result == True
1919
assert len(problems) == 1
2020
assert problems[0].ErrorType == "Invalid field in Package"
2121
assert problems[0].Reason == "PackageDownloadLocation field points to a nonexisting page (https://www.not-openldap.org/)"

0 commit comments

Comments
 (0)