Skip to content

Commit 00ad768

Browse files
Narek MkhitaryanNarek Mkhitaryan
authored andcommitted
fix test_upload_with_integer_names
1 parent 5e286f1 commit 00ad768

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration/annotations/test_upload_annotations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def test_upload_with_integer_names(self):
240240
f"{self.PROJECT_NAME}", annotations=data, data_spec="multimodal"
241241
)
242242
assert len(res["failed"]) == 3
243-
annotations = sa.get_annotations(
244-
f"{self.PROJECT_NAME}/test_folder", data_spec="multimodal"
245-
)
246-
assert len(annotations) == 0
243+
with self.assertRaisesRegexp(AppException, "Folder not found."):
244+
sa.get_annotations(
245+
f"{self.PROJECT_NAME}/test_folder", data_spec="multimodal"
246+
)

0 commit comments

Comments
 (0)