Skip to content

Commit 7860ae9

Browse files
author
Andrei Neagu
committed
working
1 parent 505547d commit 7860ae9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/service-library/tests/aiohttp/long_running_tasks/test_long_running_tasks_client.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,18 @@
1818
from settings_library.redis import RedisSettings
1919
from yarl import URL
2020

21-
pytest_simcore_core_services_selection = [
22-
"redis",
23-
]
24-
2521

2622
@pytest.fixture
2723
def app(
28-
server_routes: web.RouteTableDef, redis_service: RedisSettings
24+
server_routes: web.RouteTableDef, use_in_memory_redis: RedisSettings
2925
) -> web.Application:
3026
app = web.Application()
3127
app.add_routes(server_routes)
3228
# this adds enveloping and error middlewares
3329
append_rest_middlewares(app, api_version="")
3430
long_running_tasks.server.setup(
3531
app,
36-
redis_settings=redis_service,
32+
redis_settings=use_in_memory_redis,
3733
redis_namespace="test",
3834
router_prefix="/futures",
3935
)

0 commit comments

Comments
 (0)