File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -239,11 +239,11 @@ def _remove_project(self, project_key):
239239 )
240240
241241 def _create_project (
242- self , project_key : str , project_name : str , allow_exist : bool = False
242+ self , project_key : str , project_name : str , force_recreate : bool = False
243243 ) -> int :
244244 """Create a project and return the id"""
245245
246- if allow_exist and self ._project_exists (project_key ):
246+ if not force_recreate and self ._project_exists (project_key ):
247247 pass
248248 else :
249249 self ._remove_project (project_key )
@@ -293,7 +293,7 @@ def create_some_data(self):
293293
294294 self .project_a_id = self ._create_project (self .project_a , self .project_a_name )
295295 self .project_b_id = self ._create_project (
296- self .project_b , self .project_b_name , allow_exist = True
296+ self .project_b , self .project_b_name , force_recreate = True
297297 )
298298
299299 sleep (1 ) # keep it here as often Jira will report the
You can’t perform that action at this time.
0 commit comments