Skip to content

Commit

Permalink
fix test to fail in linux too
Browse files Browse the repository at this point in the history
  • Loading branch information
niradar committed May 29, 2024
1 parent af3a543 commit 5058a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def test_validate_duplicate_files_destination(setup_teardown):
# test case 2: folder doesn't exist and cannot be created
with pytest.raises(SystemExit) as excinfo:
file_manager.FileManager.reset_file_manager([target_dir], [source_dir, move_to_dir], True)
validate_duplicate_files_destination(os.path.join(source_dir, "\"^&%#$^%&!@"), run_mode=True)
validate_duplicate_files_destination(os.path.join(source_dir, "\"^&%/#$^%&!@"), run_mode=True)
assert excinfo.type == SystemExit
assert excinfo.value.code == 1

Expand Down

0 comments on commit 5058a62

Please sign in to comment.