Skip to content

Commit 05ee3b3

Browse files
authored
squash: fix tests
1 parent 9efc6db commit 05ee3b3

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
@@ -260,8 +260,12 @@ def test_fallback(
260260

261261
tmt.utils.filesystem.copy_tree(src=source_dir, dst=dest_dir, logger=root_logger)
262262

263-
cast(MagicMock, mock_copy_tree_cp).assert_called_once_with(src=source_dir, dst=dest_dir, tmpdir_creator=None, logger=mock.ANY)
264-
cast(MagicMock, mock_copy_tree_shutil).assert_called_once_with(src=source_dir, dst=dest_dir, tmpdir_creator=None, logger=mock.ANY)
263+
cast(MagicMock, mock_copy_tree_cp).assert_called_once_with(
264+
src=source_dir, dst=dest_dir, tmpdir_creator=None, logger=mock.ANY
265+
)
266+
cast(MagicMock, mock_copy_tree_shutil).assert_called_once_with(
267+
src=source_dir, dst=dest_dir, tmpdir_creator=None, logger=mock.ANY
268+
)
265269

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

0 commit comments

Comments
 (0)