Skip to content

Commit 0b55b32

Browse files
author
Andrei Neagu
committed
pylint
1 parent b530967 commit 0b55b32

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

services/clusters-keeper/tests/unit/conftest.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,6 @@ def mocked_ssm_server_envs(
103103
return setenvs_from_dict(monkeypatch, changed_envs)
104104

105105

106-
@pytest.fixture
107-
def mocked_ssm_server_envs(
108-
mocked_ssm_server_settings: SSMSettings,
109-
monkeypatch: pytest.MonkeyPatch,
110-
) -> EnvVarsDict:
111-
# NOTE: overrides the SSMSettings with what clusters-keeper expects
112-
changed_envs: EnvVarsDict = {
113-
f"{CLUSTERS_KEEPER_ENV_PREFIX}{k}": (
114-
v.get_secret_value() if isinstance(v, SecretStr) else v
115-
)
116-
for k, v in mocked_ssm_server_settings.dict().items()
117-
}
118-
return setenvs_from_dict(monkeypatch, changed_envs)
119-
120-
121106
@pytest.fixture
122107
def ec2_settings(mocked_ec2_server_settings: EC2Settings) -> EC2Settings:
123108
return mocked_ec2_server_settings

0 commit comments

Comments
 (0)