Skip to content

Commit 28b1544

Browse files
committed
fix mocks
1 parent 19c51f1 commit 28b1544

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

services/web/server/tests/unit/with_dbs/conftest.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
""" Configuration for unit testing with a postgress fixture
1+
"""Configuration for unit testing with a postgress fixture
22
3-
- Unit testing of webserver app with a postgress service as fixture
4-
- Starts test session by running a postgres container as a fixture (see postgress_service)
3+
- Unit testing of webserver app with a postgress service as fixture
4+
- Starts test session by running a postgres container as a fixture (see postgress_service)
55
6-
IMPORTANT: remember that these are still unit-tests!
6+
IMPORTANT: remember that these are still unit-tests!
77
"""
88

99
# nopycln: file
@@ -288,8 +288,7 @@ async def _mocked_get_services_for_user(*args, **kwargs):
288288
return services_in_project
289289

290290
for namespace in (
291-
"simcore_service_webserver.projects._crud_api_read.get_services_for_user_in_product",
292-
"simcore_service_webserver.projects._crud_handlers.get_services_for_user_in_product",
291+
"simcore_service_webserver.projects._crud_api_read.catalog_service.get_services_for_user_in_product",
293292
):
294293
mock = mocker.patch(
295294
namespace,

0 commit comments

Comments
 (0)