Skip to content

Commit

Permalink
updated file hash in test
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Horton <[email protected]>
  • Loading branch information
madpah committed Apr 12, 2022
1 parent 61c3338 commit 56f3d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ def test_from_file_with_path_for_bom(self) -> None:
test_file = join(dirname(__file__), FIXTURES_DIRECTORY, 'bom_setuptools.xml')
c = Component.for_file(absolute_file_path=test_file, path_for_bom='fixtures/bom_setuptools.xml')
self.assertEqual(c.name, 'fixtures/bom_setuptools.xml')
self.assertEqual(c.version, '0.0.0-38165abddb68')
self.assertEqual(c.version, '0.0.0-266f32655dc7')
purl = PackageURL(
type='generic', name='fixtures/bom_setuptools.xml', version='0.0.0-38165abddb68'
type='generic', name='fixtures/bom_setuptools.xml', version='0.0.0-266f32655dc7'
)
self.assertEqual(c.purl, purl)
self.assertEqual(len(c.hashes), 1)
Expand Down

0 comments on commit 56f3d5d

Please sign in to comment.