Skip to content

Commit c4072c2

Browse files
committed
Fix zipzip file test
1 parent 87c694d commit c4072c2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tests/integration/test_native_upload.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def test_zipzip_file_upload(
433433

434434
# Arrange
435435
files = [
436-
File(filepath="tests/fixtures/archive.zip"),
436+
File(filepath="tests/fixtures/archive.zip.zip"),
437437
]
438438

439439
# Act
@@ -452,14 +452,10 @@ def test_zipzip_file_upload(
452452
api_token=API_TOKEN,
453453
)
454454

455-
assert len(files) == 5, f"Expected 5 files, got {len(files)}"
455+
assert len(files) == 1, f"Expected 1 file, got {len(files)}"
456456

457457
expected_files = [
458-
"hallo.tab",
459-
"hallo2.tab",
460-
"hallo3.tab",
461-
"hallo4.tab",
462-
"hallo5.tab",
458+
"Archiv.zip", # codespell:ignore Archiv
463459
]
464460

465461
assert sorted([file["label"] for file in files]) == sorted(expected_files)

0 commit comments

Comments
 (0)