File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
services/web/server/tests/unit/with_dbs/02 Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 66import asyncio
77from collections .abc import Awaitable , Callable
88from typing import Any
9+ from unittest .mock import MagicMock
910from urllib .parse import urlparse
1011
1112import pytest
@@ -88,6 +89,7 @@ async def test_copying_large_project_and_aborting_correctly_removes_new_project(
8889 catalog_subsystem_mock : Callable [[list [ProjectDict ]], None ],
8990 slow_storage_subsystem_mock : MockedStorageSubsystem ,
9091 project_db_cleaner : None ,
92+ mocked_director_v2_api : dict [str , MagicMock ],
9193):
9294 assert client .app
9395 catalog_subsystem_mock ([user_project ])
@@ -140,6 +142,7 @@ async def test_copying_large_project_and_retrieving_copy_task(
140142 catalog_subsystem_mock : Callable [[list [ProjectDict ]], None ],
141143 slow_storage_subsystem_mock : MockedStorageSubsystem ,
142144 project_db_cleaner : None ,
145+ mocked_director_v2_api : dict [str , MagicMock ],
143146):
144147 assert client .app
145148 catalog_subsystem_mock ([user_project ])
You can’t perform that action at this time.
0 commit comments