Skip to content

Commit 7d888a8

Browse files
committed
fixed autoscaling unit tests
1 parent 49a99c1 commit 7d888a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

services/autoscaling/tests/unit/conftest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
from simcore_service_autoscaling.core.settings import (
5353
AUTOSCALING_ENV_PREFIX,
5454
ApplicationSettings,
55+
AutoscalingEC2Settings,
5556
EC2Settings,
5657
)
5758
from simcore_service_autoscaling.models import (
@@ -143,6 +144,11 @@ def with_labelize_drain_nodes(
143144
)
144145

145146

147+
@pytest.fixture
148+
def ec2_settings() -> EC2Settings:
149+
return AutoscalingEC2Settings.create_from_envs()
150+
151+
146152
@pytest.fixture
147153
def app_environment(
148154
mock_env_devel_environment: EnvVarsDict,

0 commit comments

Comments
 (0)