Skip to content

Commit ba646f5

Browse files
committed
Fix image upload tests, second try.
1 parent edafc29 commit ba646f5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_image_upload_manager.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ def test_direct_file_upload(image, controller, callback):
6161

6262
manager._checkIfSuccessfulCallback({})
6363
callback.assert_called_with({}, False)
64-
os.remove(image.path)
6564

6665

6766
def test_direct_file_upload_fallback_to_controller(image, controller, callback):
@@ -76,7 +75,6 @@ def test_direct_file_upload_fallback_to_controller(image, controller, callback):
7675
progressText='Uploading {}'.format(image.filename),
7776
timeout=None
7877
)
79-
os.remove(image.path)
8078

8179

8280
def test_upload_via_controller(image, controller, callback):
@@ -91,4 +89,4 @@ def test_upload_via_controller(image, controller, callback):
9189
progressText='Uploading {}'.format(image.filename),
9290
timeout=None
9391
)
94-
os.remove(image.path)
92+

0 commit comments

Comments
 (0)