Skip to content

Commit 0d2786c

Browse files
committed
Use categories instead of directory label
1 parent ea8a379 commit 0d2786c

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

tests/integration/test_native_upload.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,13 @@ def test_metadata_with_zip_files_in_package(self, credentials):
479479
files = [
480480
File(filepath="tests/fixtures/archive.zip",
481481
dv_dir="subdir2",
482-
description="This file should not be unzipped"
482+
description="This file should not be unzipped",
483+
categories=["Test file"]
483484
),
484485
File(filepath="tests/fixtures/add_dir_files/somefile.txt",
485486
dv_dir="subdir",
486-
description="A simple text file"
487+
description="A simple text file",
488+
categories=["Test file"]
487489
),
488490
]
489491

@@ -508,13 +510,13 @@ def test_metadata_with_zip_files_in_package(self, credentials):
508510
expected_files = [
509511
{
510512
"label": "archive.zip",
511-
"directoryLabel": "subdir2",
512-
"description": "This file should not be unzipped"
513+
"description": "This file should not be unzipped",
514+
"categories": ["Test file"]
513515
},
514516
{
515517
"label": "somefile.txt",
516-
"directoryLabel": "subdir",
517-
"description": "A simple text file"
518+
"description": "A simple text file",
519+
"categories": ["Test file"]
518520
},
519521
]
520522

0 commit comments

Comments
 (0)