File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def test_delete_folders(tmpdir):
159159
160160
161161def test_rename_folder (tmpdir ):
162- PROJECT_NAME = "test folder image count "
162+ PROJECT_NAME = "test rename folder "
163163 tmpdir = Path (tmpdir )
164164
165165 projects_found = sa .search_projects (PROJECT_NAME , return_metadata = True )
@@ -233,6 +233,10 @@ def test_delete_images(tmpdir):
233233 num_images = sa .get_project_image_count (project )
234234 assert num_images == 2
235235
236+ sa .delete_images (project , None )
237+ num_images = sa .get_project_image_count (project )
238+ assert num_images == 0
239+
236240
237241def test_copy_images (tmpdir ):
238242 PROJECT_NAME = "test copy folder images"
@@ -371,7 +375,7 @@ def test_copy_images2(tmpdir):
371375 num_images = sa .get_project_image_count (project2 )
372376 assert num_images == 2
373377
374- # ann1 = sa.get_image_annotations(project, "example_image_2.jpg")
375- # ann2 = sa.get_image_annotations(project2, "example_image_2.jpg")
378+ ann1 = sa .get_image_annotations (project , "example_image_2.jpg" )
379+ ann2 = sa .get_image_annotations (project2 , "example_image_2.jpg" )
376380
377- # assert ann1 == ann2
381+ assert ann1 == ann2
You can’t perform that action at this time.
0 commit comments