Skip to content

Commit 454910f

Browse files
committed
fix: Adapt test to include new upstream hash
As we now store the upstream hash in the field `extra_data`, we need to make the test aware of that. Signed-off-by: Adrian Braemer <adrian.braemer@tngtech.com>
1 parent 658f0d8 commit 454910f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/packagedcode/test_build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def test_MetadataBzl_parse(self):
9999
role='maintainer'
100100
)
101101
],
102+
extra_data=dict(upstream_hash='deadbeef'),
102103
homepage_url='https://github.com/example/example',
103104
)
104105
expected_packages = [models.PackageData.from_data(package_data=package_data, package_only=True)]

0 commit comments

Comments
 (0)