Skip to content

Commit 3ac0ba9

Browse files
committed
Move stress download to stress upload download
1 parent 6da3fda commit 3ac0ba9

File tree

2 files changed

+8
-24
lines changed

2 files changed

+8
-24
lines changed

tests/test_stress_test_image_download.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

tests/test_stress_test_image_upload.py renamed to tests/test_stress_test_image_upload_download.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,11 @@ def test_upload_stress(tmpdir):
3434
time.sleep(60)
3535
count = sa.get_project_image_count(project)
3636
assert count == 40670
37+
38+
export = sa.prepare_export(project)
39+
sa.download_export(project, export, tmpdir)
40+
41+
count_in_project = sa.get_project_image_count(project)
42+
count_in_folder = len(list(Path(tmpdir).glob("*.jpg")))
43+
44+
assert count_in_project == count_in_folder

0 commit comments

Comments
 (0)