Skip to content

Commit c6d8228

Browse files
committed
Correct test from pytest report
It was moot as written. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 304c249 commit c6d8228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vulnerabilities/tests/test_changelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ def test_vulnerability_changelog_software_version():
139139
NpmImporterPipeline().import_advisory(advisory=adv)
140140
npm_vulnerability_log = models.VulnerabilityChangeLog.objects.first()
141141

142-
assert ("test-version", npm_vulnerability_log.software_version)
142+
assert npm_vulnerability_log.software_version == "test-version"

0 commit comments

Comments
 (0)