@@ -414,7 +414,7 @@ def log_in_and_out(
414414 page .wait_for_timeout (500 )
415415
416416
417- def open_with_resources (page : Page , click_it : bool ):
417+ def _open_with_resources (page : Page , click_it : bool ):
418418 study_title_field = page .get_by_test_id ("studyTitleField" )
419419 # wait until the title is automatically filled up
420420 expect (study_title_field ).not_to_have_value ("" , timeout = 5000 )
@@ -471,7 +471,7 @@ def _(
471471 if template_id is not None :
472472 if is_product_billable :
473473 open_button .click ()
474- open_button = open_with_resources (page , False )
474+ open_button = _open_with_resources (page , False )
475475 # it returns a Long Running Task
476476 with page .expect_response (
477477 re .compile (rf"/projects\?from_study\={ template_id } " )
@@ -516,10 +516,10 @@ def wait_for_done(response):
516516 else :
517517 open_button .click ()
518518 if is_product_billable :
519- open_with_resources (page , True )
519+ _open_with_resources (page , True )
520520 open_with_resources_clicked = True
521521 if is_product_billable and not open_with_resources_clicked :
522- open_with_resources (page , True )
522+ _open_with_resources (page , True )
523523 project_data = response_info .value .json ()
524524 assert project_data
525525 project_uuid = project_data ["data" ]["uuid" ]
0 commit comments