Skip to content

Commit

Permalink
Merge pull request #3003 from s-t-e-v-e-n-k/use-correct-mock-assertion
Browse files Browse the repository at this point in the history
Fix mock assertion in ICU recipe
  • Loading branch information
AndreMiras authored Apr 9, 2024
2 parents 8110faf + 5d5ca2b commit db4e736
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/recipes/test_icu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit db4e736

Please sign in to comment.