Skip to content

Commit f41090a

Browse files
authored
Merge pull request #198 from nokia/fix-test_nok_purls
Fix test: warning only
2 parents 3a02221 + 7c4ec7e commit f41090a

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)