Remove type hint

This commit is contained in:
jobrauer
2020-03-27 10:52:34 +01:00
parent b9dee9d454
commit 47c782b13e
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ def test_reuse_tagged_module(pkg_util, scenario, repo, koji, mbs):
platform_builds = [b for b in platform_builds if b.module_build_data['state'] == 5] # 'ready'
assert len(platform_builds) == 1, f"Platform {platform_stream}: no build in state ready."
metadata = platform_builds[0].get_metadata()
metadata = platform_builds[0].get_modulemd()
koji_tag_with_modules = metadata['data']['xmd']['mbs'].get('koji_tag_with_modules')
assert koji_tag_with_modules, \
f"Platform {platform_stream}: missing 'koji_tag_with_modules', Koji resolver disabled."

View File

@@ -400,7 +400,7 @@ class Build:
return True
return False
def get_metadata(self) -> dict:
def get_modulemd(self):
"""
Get module's metadata (from MBS API)