mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 22:49:59 +08:00
Remove type hint
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user