Skip to content

Commit

Permalink
Add additional test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Bento007 committed Jul 29, 2024
1 parent 7d56284 commit 38f9af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/python/cryoet_data_portal/tests/test_file_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_invalid_dest_path(
get_destination_path(url, dest_path, recursive_from_prefix)

def test_dest_path_is_existing_file(self, tmp_path) -> None:
"""Test that the destination path is created if it does not exist"""
"""Test that an error is raised if the dest_path is an existing file"""
url = "https://example.com/file.txt"
dest_path = os.path.join(tmp_path, "test.txt")
Path(dest_path).touch()
Expand Down

0 comments on commit 38f9af5

Please sign in to comment.