Skip to content

Commit

Permalink
Negative checks don't check the args
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Oct 28, 2024
1 parent 4688b8f commit d3d2b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_minimal_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def test_locking_and_publishing(self) -> None:
mock_compile.assert_called_once_with()
mock_compile.reset_mock()
mock_install = cast(Mock, env.index_config._get_pip_install_args)
mock_install.assert_not_called_with()
mock_install.assert_not_called()
subtests_passed += 1
# Test stage: ensure lock timestamps *do* change when the requirements "change"
for env in build_env.all_environments():
Expand All @@ -647,7 +647,7 @@ def test_locking_and_publishing(self) -> None:
mock_compile.assert_called_once_with()
mock_compile.reset_mock()
mock_install = cast(Mock, env.index_config._get_pip_install_args)
mock_install.assert_not_called_with()
mock_install.assert_not_called()
subtests_passed += 1
# Test stage: ensure exported environments allow launch module execution
subtests_started += 1
Expand Down

0 comments on commit d3d2b3a

Please sign in to comment.