File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
services/clusters-keeper/tests/unit Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff 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
122107def ec2_settings (mocked_ec2_server_settings : EC2Settings ) -> EC2Settings :
123108 return mocked_ec2_server_settings
You can’t perform that action at this time.
0 commit comments