From 7d00942d13e7589cfa876ff1f78a72eff7007404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Wed, 8 Jul 2020 08:26:59 +0200 Subject: [PATCH] Allow test calls in any order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are threads involved and the order is undefined. We need to accept any order. Signed-off-by: Lubomír Sedlář --- tests/test_pkgset_common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_pkgset_common.py b/tests/test_pkgset_common.py index 62a8ff15..455c7101 100755 --- a/tests/test_pkgset_common.py +++ b/tests/test_pkgset_common.py @@ -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( [