Skip to content

Commit 548107e

Browse files
committed
Code cleanup
1 parent 88385ac commit 548107e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_init_annot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_meta_init(tmpdir):
1818
project = sa.create_project(name, description, project_type)
1919

2020
sa.upload_images_from_folder_to_project(
21-
project, from_folder, annotation_status="NotStarted"
21+
project, from_folder, annotation_status="InProgress"
2222
)
2323

2424
for image in from_folder.glob("*.jpg"):
@@ -27,3 +27,6 @@ def test_meta_init(tmpdir):
2727
print(annot)
2828
assert annot["metadata"]["width"] == size[1]
2929
assert annot["metadata"]["height"] == size[0]
30+
assert len(annot["metadata"]) == 2
31+
32+
sa.download_export(project, sa.prepare_export(project), tmpdir)

0 commit comments

Comments
 (0)