File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -22,24 +22,18 @@ class TestDeprecatedFunctionsVideo(BaseTestCase):
2222 EXCEPTION_MESSAGE = LIMITED_FUNCTIONS [ProjectType .VIDEO .value ]
2323 EXCEPTION_MESSAGE_DOCUMENT_VIDEO = DEPRICATED_DOCUMENT_VIDEO_MESSAGE
2424
25-
2625 def setUp (self , * args , ** kwargs ):
2726 self .tearDown ()
28-
2927 sa .create_project (
3028 self .PROJECT_NAME , self .PROJECT_DESCRIPTION , self .PROJECT_TYPE
3129 )
32-
3330 sa .create_project (
3431 self .PROJECT_NAME_2 , self .PROJECT_DESCRIPTION_2 , self .PROJECT_TYPE_2
3532 )
3633
3734 def tearDown (self ) -> None :
3835 projects = sa .search_projects (self .PROJECT_NAME , return_metadata = True )
39- for project in projects :
40- sa .delete_project (project )
41-
42- projects = sa .search_projects (self .PROJECT_NAME_2 , return_metadata = True )
36+ projects .extend (sa .search_projects (self .PROJECT_NAME_2 , return_metadata = True ))
4337 for project in projects :
4438 sa .delete_project (project )
4539
You can’t perform that action at this time.
0 commit comments