Pass compose to SCM wrappers

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2019-10-07 12:26:22 +02:00
parent b05295c202
commit 39e8f6f710
11 changed files with 23 additions and 21 deletions

View file

@ -148,7 +148,7 @@ class TestCopyFiles(helpers.PungiTestCase):
self.assertTrue(os.path.isfile(os.path.join(
self.topdir, 'compose', 'Server', 'x86_64', 'os', 'file.txt')))
def fake_get_file(self, scm_dict, dest, logger):
def fake_get_file(self, scm_dict, dest, compose):
self.scm_dict = scm_dict
helpers.touch(os.path.join(dest, scm_dict['file']))
return [scm_dict['file']]