File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
services/dynamic-sidecar/tests/unit Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 3030from pytest_simcore .helpers .monkeypatch_envs import EnvVarsDict
3131from servicelib .fastapi .long_running_tasks .client import Client , periodic_task_result
3232from servicelib .fastapi .long_running_tasks .client import setup as client_setup
33+ from servicelib .long_running_tasks .errors import TaskExceptionError
3334from servicelib .long_running_tasks .models import TaskId
3435from simcore_sdk .node_ports_common .exceptions import NodeNotFound
3536from simcore_service_dynamic_sidecar ._meta import API_VTAG
4243from simcore_service_dynamic_sidecar .models .shared_store import SharedStore
4344from simcore_service_dynamic_sidecar .modules .inputs import enable_inputs_pulling
4445from simcore_service_dynamic_sidecar .modules .outputs ._context import OutputsContext
45- from simcore_service_dynamic_sidecar .modules .outputs ._manager import (
46- OutputsManager ,
47- UploadPortsFailedError ,
48- )
46+ from simcore_service_dynamic_sidecar .modules .outputs ._manager import OutputsManager
4947
5048FAST_STATUS_POLL : Final [float ] = 0.1
5149CREATE_SERVICE_CONTAINERS_TIMEOUT : Final [float ] = 60
@@ -681,7 +679,7 @@ async def _test_code() -> None:
681679 if not mock_port_keys :
682680 await _test_code ()
683681 else :
684- with pytest .raises (UploadPortsFailedError ) as exec_info :
682+ with pytest .raises (TaskExceptionError ) as exec_info :
685683 await _test_code ()
686684 assert f"the node id { missing_node_uuid } was not found" in f"{ exec_info .value } "
687685
You can’t perform that action at this time.
0 commit comments