File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
services/notifications/tests/unit Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414
1515
1616@pytest .fixture
17- def service_env (
17+ def app_environment (
1818 monkeypatch : pytest .MonkeyPatch ,
1919 mock_environment : EnvVarsDict ,
2020 rabbit_service : RabbitSettings ,
21- postgres_db : sa .engine .Engine ,
21+ postgres_db : sa .engine .Engine , # waiting for postgres service to start
2222 postgres_env_vars_dict : EnvVarsDict ,
2323) -> EnvVarsDict :
2424 return setenvs_from_dict (
@@ -36,7 +36,7 @@ def service_env(
3636
3737
3838@pytest .fixture
39- async def initialized_app (service_env : EnvVarsDict ) -> AsyncIterator [FastAPI ]:
39+ async def initialized_app (app_environment : EnvVarsDict ) -> AsyncIterator [FastAPI ]:
4040 app : FastAPI = create_app ()
4141
4242 async with LifespanManager (app , startup_timeout = 30 , shutdown_timeout = 30 ):
Original file line number Diff line number Diff line change 2121
2222
2323@pytest .fixture
24- def cli_runner (service_env : EnvVarsDict ) -> CliRunner :
24+ def cli_runner (app_environment : EnvVarsDict ) -> CliRunner :
2525 return CliRunner ()
2626
2727
You can’t perform that action at this time.
0 commit comments