Skip to content

Commit

Permalink
chore(tests): Fix issue with test_file_copy in aws filemanager tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasse-numerous committed May 13, 2024
1 parent 30fbefe commit bcf4b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_aws_filemanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def test_file_move(test_file_create: str, file_manager: FileManager) -> None:
assert upload_path not in file_manager.list("tests/")

def test_file_copy(test_file_create: str, file_manager: FileManager) -> None:
upload_path = "tests/test_aws_filemanager.py"
upload_path = "tests/test.txt"

file_manager.put(test_file_create, upload_path)
file_manager.copy(upload_path, "tests/text2.py")
file_manager.copy(upload_path, "tests/test2.txt")

assert "tests/test2.txt" in file_manager.list("tests/")
assert upload_path in file_manager.list("tests/")
Expand Down

0 comments on commit bcf4b03

Please sign in to comment.