Skip to content

Commit e98751a

Browse files
committed
this is how to fix the tests
1 parent 2486530 commit e98751a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

services/web/server/tests/unit/with_dbs/03/trash/test_trash_rest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ async def test_trash_projects( # noqa: PLR0915
7575
return_value=[mocker.MagicMock()] if is_project_running else [],
7676
autospec=True,
7777
)
78+
mocker.patch(
79+
"simcore_service_webserver.projects._trash_service.dynamic_scheduler_service.get_dynamic_service",
80+
autospec=True,
81+
)
7882

7983
project_uuid = UUID(user_project["uuid"])
8084

0 commit comments

Comments
 (0)