@@ -10,6 +10,7 @@ class TestAnnotationDelete(BaseTestCase):
1010 PROJECT_NAME = "TestAnnotationDelete"
1111 PROJECT_DESCRIPTION = "desc"
1212 PROJECT_TYPE = "Vector"
13+ TEST_FOLDER_NAME = "folder"
1314 TEST_FOLDER_PATH = "data_set/sample_project_vector_single_image"
1415 EXAMPLE_IMAGE_1 = "example_image_1.jpg"
1516 EXAMPLE_IMAGE_2 = "example_image_2.jpg"
@@ -25,9 +26,9 @@ def classes_json(self):
2526 "data_set/sample_project_vector/classes/classes.json" ,
2627 )
2728
28- @pytest .mark .skip (
29- "waiting for deployment to dev" ,
30- )
29+ # @pytest.mark.skip(
30+ # "waiting for deployment to dev",
31+ # )
3132 def test_delete_annotations (self ):
3233 sa .upload_images_from_folder_to_project (
3334 self .PROJECT_NAME , self .folder_path , annotation_status = "InProgress"
@@ -45,10 +46,10 @@ def test_delete_annotations(self):
4546 self .assertIsNotNone (data ["annotation_json_filename" ])
4647 self .assertIsNone (data ["annotation_mask" ])
4748
48- @pytest .mark .skip (
49- "waiting for deployment to dev" ,
50- )
51- def test_delete_annotations_by_not_exsisting_name (self ):
49+ # @pytest.mark.skip(
50+ # "waiting for deployment to dev",
51+ # )
52+ def test_delete_annotations_by_not_existing_name (self ):
5253 sa .upload_images_from_folder_to_project (
5354 self .PROJECT_NAME , self .folder_path , annotation_status = "InProgress"
5455 )
@@ -59,3 +60,4 @@ def test_delete_annotations_by_not_exsisting_name(self):
5960 self .PROJECT_NAME , f"{ self .folder_path } "
6061 )
6162 self .assertRaises (Exception , sa .delete_annotations , self .PROJECT_NAME , [self .EXAMPLE_IMAGE_2 ])
63+
0 commit comments