diff --git a/tests/recipes/test_icu.py b/tests/recipes/test_icu.py index 239b99e4c1..dacf65a0b4 100644 --- a/tests/recipes/test_icu.py +++ b/tests/recipes/test_icu.py @@ -52,13 +52,14 @@ def test_build_arch( # We expect some calls to `sh.Command` build_root = self.recipe.get_build_dir(self.arch.arch) - mock_sh_command.has_calls( + mock_sh_command.assert_has_calls( [ mock.call( os.path.join(build_root, "source", "runConfigureICU") ), mock.call(os.path.join(build_root, "source", "configure")), - ] + ], + any_order=True ) mock_ensure_dir.assert_called() mock_chdir.assert_called()