Skip to content

Commit b0c4a28

Browse files
committed
Update tests
1 parent a0d57c3 commit b0c4a28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/test_attach_image_urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ def test_attach_image_urls(self):
2828
self.assertEqual(len(existing_images), 1)
2929
images = sa.search_images(project=self.PROJECT_NAME, return_metadata=True)
3030
self.assertTrue(all([image["name"] for image in images]))
31-
truth = {'name': '6022a74b26aec4002575b9e8',
31+
truth = {'name': '',
3232
'path': 'https://drive.google.com/uc?export=download&id=1geS2YtQiTYuiduEirKVYxBujHJaIWA3V',
3333
'annotation_status': 'NotStarted', 'prediction_status': None, 'segmentation_status': None,
3434
'approval_status': None, 'is_pinned': 0, 'annotator_name': None, 'qa_name': None, 'entropy_value': None,
3535
'createdAt': '', 'updatedAt': ''}
3636
image = images[0]
3737
image['createdAt'] = ''
3838
image['updatedAt'] = ''
39+
image['name'] = ''
3940
self.assertEqual(image, truth)
4041

4142
def test_double_attach_image_urls(self):

0 commit comments

Comments
 (0)