Skip to content

Commit 186f0e3

Browse files
committed
squash: fix tests
1 parent dd42c02 commit 186f0e3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tests/unit/test_filesystem.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,12 @@ def test_fallback(
254254

255255
tmt.utils.filesystem.copy_tree(src=source_dir, dst=dest_dir, logger=root_logger)
256256

257-
cast(MagicMock, mock_copy_tree_cp).assert_called_once_with(src=source_dir, dst=dest_dir, tmpdir_creator=None, logger=mock.ANY)
258-
cast(MagicMock, mock_copy_tree_shutil).assert_called_once_with(src=source_dir, dst=dest_dir, tmpdir_creator=None, logger=mock.ANY)
257+
cast(MagicMock, mock_copy_tree_cp).assert_called_once_with(
258+
src=source_dir, dst=dest_dir, tmpdir_creator=None, logger=mock.ANY
259+
)
260+
cast(MagicMock, mock_copy_tree_shutil).assert_called_once_with(
261+
src=source_dir, dst=dest_dir, tmpdir_creator=None, logger=mock.ANY
262+
)
259263

260264
# Verify files were copied using the fallback approach (shutil.copytree)
261265
for file_path in _EXPECTED_TEST_FILES:

0 commit comments

Comments
 (0)