Fix formatting

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2020-08-20 15:09:27 +02:00
parent 40bbb4325a
commit e628bb91ec
3 changed files with 41 additions and 16 deletions

View file

@ -665,8 +665,12 @@ class GetIsoContentsTest(helpers.PungiTestCase):
six.assertCountEqual(
self,
ggp.call_args_list,
[mock.call(self.compose.paths.compose.topdir(),
[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(wgp.call_args_list[0][0][0], gp_file)
@ -735,8 +739,12 @@ class GetIsoContentsTest(helpers.PungiTestCase):
six.assertCountEqual(
self,
ggp.call_args_list,
[mock.call(self.compose.paths.compose.topdir(),
[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(wgp.call_args_list[0][0][0], gp_file)
@ -801,8 +809,12 @@ class GetIsoContentsTest(helpers.PungiTestCase):
six.assertCountEqual(
self,
ggp.call_args_list,
[mock.call(self.compose.paths.compose.topdir(),
[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(wgp.call_args_list[0][0][0], gp_file)
@ -893,10 +905,13 @@ class GetIsoContentsTest(helpers.PungiTestCase):
six.assertCountEqual(
self,
ggp.call_args_list,
[mock.call(self.compose.paths.compose.topdir(),
[os.path.join(self.topdir, x)]) for x in gp]
+ [mock.call(self.compose.paths.compose.topdir(),
[bi_dir, iso_dir])],
[
mock.call(
self.compose.paths.compose.topdir(), [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(wgp.call_args_list[0][0][0], gp_file)