We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8764cf commit a5489f8Copy full SHA for a5489f8
tests/utils/test_fs_isolation.py
@@ -586,4 +586,4 @@ def mock_is_dir(self):
586
# Should have called unlink for file and symlink (2 times)
587
assert mock_unlink.call_count == 2
588
# Should have called rmtree for directory (1 time)
589
- mock_rmtree.assert_called_once_with(dir_path, ignore_errors=True)
+ mock_rmtree.assert_any_call(dir_path, ignore_errors=True)
0 commit comments