Skip to content

Commit a42b243

Browse files
author
Andrei Neagu
committed
fixed test
1 parent 8ca56b2 commit a42b243

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/director-v2/tests/unit/test_modules_notifier.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from pytest_simcore.helpers.monkeypatch_envs import EnvVarsDict, setenvs_from_dict
2424
from servicelib.utils import logged_gather
2525
from settings_library.rabbit import RabbitSettings
26+
from settings_library.redis import RedisSettings
2627
from simcore_service_director_v2.core.settings import AppSettings
2728
from simcore_service_director_v2.modules.notifier import (
2829
publish_shutdown_no_more_credits,
@@ -34,6 +35,7 @@
3435

3536
pytest_simcore_core_services_selection = [
3637
"rabbit",
38+
"redis",
3739
]
3840

3941

@@ -127,6 +129,7 @@ async def _assert_call_count(mock: AsyncMock, *, call_count: int) -> None:
127129

128130

129131
async def test_notifier_publish_message(
132+
redis_service: RedisSettings,
130133
socketio_server_events: dict[str, AsyncMock],
131134
initialized_app: FastAPI,
132135
user_id: UserID,

0 commit comments

Comments
 (0)