Update from upstream #11
@ -422,7 +422,7 @@ def add_metadata(variant, task_id, compose, is_scratch):
|
||||
else:
|
||||
build_id = int(result["koji_builds"][0])
|
||||
buildinfo = koji.koji_proxy.getBuild(build_id)
|
||||
archives = koji.koji_proxy.listArchives(build_id)
|
||||
archives = koji.koji_proxy.listArchives(build_id, type="image")
|
||||
|
||||
nvr = "%(name)s-%(version)s-%(release)s" % buildinfo
|
||||
|
||||
|
@ -235,7 +235,7 @@ class OSBSThreadTest(helpers.PungiTestCase):
|
||||
expect_calls.extend(
|
||||
[
|
||||
mock.call.koji_proxy.getBuild(54321),
|
||||
mock.call.koji_proxy.listArchives(54321),
|
||||
mock.call.koji_proxy.listArchives(54321, type="image"),
|
||||
mock.call.koji_proxy.listRPMs(imageID=1436049),
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user