Skip to content

Commit 5f0d3e6

Browse files
committed
Test fix
1 parent 58e6e7a commit 5f0d3e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/integration/annotations/test_get_annotations.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,12 @@ def test_get_annotations10000(self):
114114
count = 10000
115115
sa.attach_items(
116116
self.PROJECT_NAME,
117-
[{"name": f"example_image_{i}.jpg", "url": f"url_{i}"} for i in range(1, count)] # noqa
117+
[{"name": f"example_image_{i}.jpg", "url": f"url_{i}"} for i in range(count)] # noqa
118118
)
119119
a = sa.get_annotations(self.PROJECT_NAME)
120120
assert len(a) == count
121121

122122

123-
124123
class TestGetAnnotationsVideo(BaseTestCase):
125124
PROJECT_NAME = "test attach multiple video urls"
126125
PATH_TO_URLS = "data_set/video_urls.csv"
@@ -170,4 +169,3 @@ def test_video_annotation_upload_folder(self):
170169
sa.upload_annotations_from_folder_to_project(path, self.annotations_path)
171170
annotations = sa.get_annotations(path)
172171
self.assertEqual(len(annotations), 2)
173-

0 commit comments

Comments
 (0)