[live-media] Properly calculate iso dir
The method expects to be called with a arch, not just variant. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
39c688f7ef
commit
8ef2e7e308
2 changed files with 4 additions and 4 deletions
|
|
@ -36,8 +36,8 @@ class _DummyCompose(object):
|
|||
side_effect=lambda arch, variant, create_dir=False: os.path.join('/repo', arch, variant.uid)
|
||||
),
|
||||
iso_dir=mock.Mock(
|
||||
side_effect=lambda variant, relative=False: os.path.join(
|
||||
'' if relative else '/', 'iso_dir', variant.uid, '%(arch)s'
|
||||
side_effect=lambda arch, variant, relative=False: os.path.join(
|
||||
'' if relative else '/', 'iso_dir', variant.uid, arch
|
||||
)
|
||||
)
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue