diff --git a/transip_client/tests.py b/transip_client/tests.py index 4260ac0..30098e7 100644 --- a/transip_client/tests.py +++ b/transip_client/tests.py @@ -357,7 +357,8 @@ class RunTestCase(TestCase): call().json(), ] - self.mocked_get.assert_has_calls(expected_calls) + # use any_order because of the asynchronous requests + self.mocked_get.assert_has_calls(expected_calls, any_order=True) expected_json = json.dumps( {