From f8c68ccd56af6198e2fd9786a0e3427d1aa22a28 Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Tue, 20 Aug 2024 15:23:27 +0200 Subject: [PATCH] all tests are passing --- services/autoscaling/tests/unit/test_utils_docker.py | 5 +++++ services/autoscaling/tests/unit/test_utils_rabbitmq.py | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/services/autoscaling/tests/unit/test_utils_docker.py b/services/autoscaling/tests/unit/test_utils_docker.py index 97cbebd51a79..03985cfba78c 100644 --- a/services/autoscaling/tests/unit/test_utils_docker.py +++ b/services/autoscaling/tests/unit/test_utils_docker.py @@ -1008,6 +1008,7 @@ async def test_set_node_availability( def test_get_new_node_docker_tags( disabled_rabbitmq: None, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, enabled_dynamic_mode: EnvVarsDict, disable_dynamic_service_background_task: None, @@ -1152,6 +1153,7 @@ def test_is_node_osparc_ready(create_fake_node: Callable[..., Node], faker: Fake async def test_set_node_osparc_ready( disabled_rabbitmq: None, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, enabled_dynamic_mode: EnvVarsDict, disable_dynamic_service_background_task: None, @@ -1194,6 +1196,7 @@ async def test_set_node_osparc_ready( async def test_set_node_found_empty( disabled_rabbitmq: None, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, enabled_dynamic_mode: EnvVarsDict, disable_dynamic_service_background_task: None, @@ -1237,6 +1240,7 @@ async def test_set_node_found_empty( async def test_set_node_begin_termination_process( disabled_rabbitmq: None, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, enabled_dynamic_mode: EnvVarsDict, disable_dynamic_service_background_task: None, @@ -1269,6 +1273,7 @@ async def test_set_node_begin_termination_process( async def test_attach_node( disabled_rabbitmq: None, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, enabled_dynamic_mode: EnvVarsDict, disable_dynamic_service_background_task: None, diff --git a/services/autoscaling/tests/unit/test_utils_rabbitmq.py b/services/autoscaling/tests/unit/test_utils_rabbitmq.py index 8ddc14fed3dd..6b6308399d08 100644 --- a/services/autoscaling/tests/unit/test_utils_rabbitmq.py +++ b/services/autoscaling/tests/unit/test_utils_rabbitmq.py @@ -51,6 +51,7 @@ async def test_post_task_log_message( disable_dynamic_service_background_task, enabled_rabbitmq: RabbitSettings, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, initialized_app: FastAPI, create_rabbitmq_client: Callable[[str], RabbitMQClient], @@ -112,6 +113,7 @@ async def test_post_task_log_message_does_not_raise_if_service_has_no_labels( disable_dynamic_service_background_task, enabled_rabbitmq: RabbitSettings, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, initialized_app: FastAPI, async_docker_client: aiodocker.Docker, @@ -141,6 +143,7 @@ async def test_post_task_progress_message( disable_dynamic_service_background_task, enabled_rabbitmq: RabbitSettings, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, initialized_app: FastAPI, create_rabbitmq_client: Callable[[str], RabbitMQClient], @@ -202,6 +205,7 @@ async def test_post_task_progress_does_not_raise_if_service_has_no_labels( disable_dynamic_service_background_task, enabled_rabbitmq: RabbitSettings, disabled_ec2: None, + disabled_ssm: None, mocked_redis_server: None, initialized_app: FastAPI, async_docker_client: aiodocker.Docker,