Skip to content

Commit

Permalink
[#16] Fix tests message
Browse files Browse the repository at this point in the history
  • Loading branch information
dedenbangkit committed Sep 12, 2023
1 parent b5adfa7 commit 83a0ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/akvo/core_storage/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_image_upload(self):
uploaded_filename = response.json().get("file")
self.assertTrue(
storage.check(uploaded_filename),
"File exists",
f"File {uploaded_filename} was not uploaded to the storage.",
)
os.remove(f"{STORAGE_PATH}/{uploaded_filename}")
os.remove(filename)
Expand Down

0 comments on commit 83a0ba3

Please sign in to comment.