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:
Lubomír Sedlář 2020-07-08 08:26:59 +02:00
parent 0ab6f48de3
commit 7d00942d13

View File

@ -170,7 +170,8 @@ class TestCreateArchRepos(helpers.PungiTestCase):
mock.call(
old_repo, os.path.join(self.compose.topdir, "work/x86_64/repo/foo")
),
]
],
any_order=True,
)
self.compose.log_info.assert_has_calls(
[