Allow test calls in any order
There are threads involved and the order is undefined. We need to accept any order. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
0ab6f48de3
commit
7d00942d13
@ -170,7 +170,8 @@ class TestCreateArchRepos(helpers.PungiTestCase):
|
|||||||
mock.call(
|
mock.call(
|
||||||
old_repo, os.path.join(self.compose.topdir, "work/x86_64/repo/foo")
|
old_repo, os.path.join(self.compose.topdir, "work/x86_64/repo/foo")
|
||||||
),
|
),
|
||||||
]
|
],
|
||||||
|
any_order=True,
|
||||||
)
|
)
|
||||||
self.compose.log_info.assert_has_calls(
|
self.compose.log_info.assert_has_calls(
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user