Skip to content

Commit cb97bed

Browse files
committed
set envs correctly
1 parent 60a8e29 commit cb97bed

File tree

1 file changed

+3
-1
lines changed
  • services/director-v2/tests/unit/with_dbs/comp_scheduler

1 file changed

+3
-1
lines changed

services/director-v2/tests/unit/with_dbs/comp_scheduler/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@ def mock_env(
2828
postgres_host_config: dict[str, str],
2929
rabbit_service: RabbitSettings,
3030
redis_service: RedisSettings,
31+
rabbit_env_vars_dict: EnvVarsDict,
3132
) -> EnvVarsDict:
3233
return mock_env | setenvs_from_dict(
3334
monkeypatch,
3435
{k: f"{v}" for k, v in fake_s3_envs.items()}
3536
| {
3637
"COMPUTATIONAL_BACKEND_ENABLED": True,
3738
"COMPUTATIONAL_BACKEND_DASK_CLIENT_ENABLED": True,
38-
},
39+
}
40+
| rabbit_env_vars_dict,
3941
)
4042

4143

0 commit comments

Comments
 (0)