Adapt tests to a new get_graft_points() argument
Signed-off-by: Jiri Konecny <jkonecny@redhat.com>
This commit is contained in:
parent
8d4fea7890
commit
40bbb4325a
@ -665,7 +665,8 @@ class GetIsoContentsTest(helpers.PungiTestCase):
|
|||||||
six.assertCountEqual(
|
six.assertCountEqual(
|
||||||
self,
|
self,
|
||||||
ggp.call_args_list,
|
ggp.call_args_list,
|
||||||
[mock.call(self.compose, [os.path.join(self.topdir, x)]) for x in gp],
|
[mock.call(self.compose.paths.compose.topdir(),
|
||||||
|
[os.path.join(self.topdir, x)]) for x in gp],
|
||||||
)
|
)
|
||||||
self.assertEqual(len(wgp.call_args_list), 1)
|
self.assertEqual(len(wgp.call_args_list), 1)
|
||||||
self.assertEqual(wgp.call_args_list[0][0][0], gp_file)
|
self.assertEqual(wgp.call_args_list[0][0][0], gp_file)
|
||||||
@ -734,7 +735,8 @@ class GetIsoContentsTest(helpers.PungiTestCase):
|
|||||||
six.assertCountEqual(
|
six.assertCountEqual(
|
||||||
self,
|
self,
|
||||||
ggp.call_args_list,
|
ggp.call_args_list,
|
||||||
[mock.call(self.compose, [os.path.join(self.topdir, x)]) for x in gp],
|
[mock.call(self.compose.paths.compose.topdir(),
|
||||||
|
[os.path.join(self.topdir, x)]) for x in gp],
|
||||||
)
|
)
|
||||||
self.assertEqual(len(wgp.call_args_list), 1)
|
self.assertEqual(len(wgp.call_args_list), 1)
|
||||||
self.assertEqual(wgp.call_args_list[0][0][0], gp_file)
|
self.assertEqual(wgp.call_args_list[0][0][0], gp_file)
|
||||||
@ -799,7 +801,8 @@ class GetIsoContentsTest(helpers.PungiTestCase):
|
|||||||
six.assertCountEqual(
|
six.assertCountEqual(
|
||||||
self,
|
self,
|
||||||
ggp.call_args_list,
|
ggp.call_args_list,
|
||||||
[mock.call(self.compose, [os.path.join(self.topdir, x)]) for x in gp],
|
[mock.call(self.compose.paths.compose.topdir(),
|
||||||
|
[os.path.join(self.topdir, x)]) for x in gp],
|
||||||
)
|
)
|
||||||
self.assertEqual(len(wgp.call_args_list), 1)
|
self.assertEqual(len(wgp.call_args_list), 1)
|
||||||
self.assertEqual(wgp.call_args_list[0][0][0], gp_file)
|
self.assertEqual(wgp.call_args_list[0][0][0], gp_file)
|
||||||
@ -890,8 +893,10 @@ class GetIsoContentsTest(helpers.PungiTestCase):
|
|||||||
six.assertCountEqual(
|
six.assertCountEqual(
|
||||||
self,
|
self,
|
||||||
ggp.call_args_list,
|
ggp.call_args_list,
|
||||||
[mock.call(self.compose, [os.path.join(self.topdir, x)]) for x in gp]
|
[mock.call(self.compose.paths.compose.topdir(),
|
||||||
+ [mock.call(self.compose, [bi_dir, iso_dir])],
|
[os.path.join(self.topdir, x)]) for x in gp]
|
||||||
|
+ [mock.call(self.compose.paths.compose.topdir(),
|
||||||
|
[bi_dir, iso_dir])],
|
||||||
)
|
)
|
||||||
self.assertEqual(len(wgp.call_args_list), 1)
|
self.assertEqual(len(wgp.call_args_list), 1)
|
||||||
self.assertEqual(wgp.call_args_list[0][0][0], gp_file)
|
self.assertEqual(wgp.call_args_list[0][0][0], gp_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user