Skip to content

Commit 92e6695

Browse files
authored
Merge pull request #748 from superannotateai/test_fix
fix test_upload_with_integer_names
2 parents e6e15cf + 00ad768 commit 92e6695

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)