File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
services/web/server/tests/unit/with_dbs/02 Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -732,16 +732,14 @@ async def test_open_project_with_disable_service_auto_start_set_overrides_behavi
732732 mocked_dynamic_services_interface : dict [str , mock .Mock ],
733733 mock_catalog_api : dict [str , mock .Mock ],
734734 max_amount_of_auto_started_dyn_services : int ,
735- faker : Faker ,
736735 mocked_notifications_plugin : dict [str , mock .Mock ],
737736):
738737 assert client .app
739- num_of_dyn_services = max_amount_of_auto_started_dyn_services or faker . pyint (
740- min_value = 3 , max_value = 250
738+ project = await user_project_with_num_dynamic_services (
739+ max_amount_of_auto_started_dyn_services
741740 )
742- project = await user_project_with_num_dynamic_services (num_of_dyn_services )
743741 all_service_uuids = list (project ["workbench" ])
744- for num_service_already_running in range (num_of_dyn_services ):
742+ for num_service_already_running in range (max_amount_of_auto_started_dyn_services ):
745743 mocked_dynamic_services_interface [
746744 "dynamic_scheduler.api.list_dynamic_services"
747745 ].return_value = [
You can’t perform that action at this time.
0 commit comments