Skip to content

Commit 56d06f3

Browse files
committed
fixing imports
1 parent 3bd5cc9 commit 56d06f3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

services/api-server/tests/unit/test_api__study_workflows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# pylint: disable=unused-variable
44
# pylint: disable=too-many-arguments
55

6+
import asyncio
67
import functools
78
import io
89
import json
910
import textwrap
10-
import time
1111
from contextlib import suppress
1212
from pathlib import Path
1313
from typing import TypedDict
@@ -293,7 +293,7 @@ async def test_run_study_workflow(
293293
)
294294
print(f"Status: [{job_status.state}]")
295295

296-
time.sleep(1)
296+
await asyncio.sleep(1)
297297

298298
print(await studies_api.inspect_study_job(study_id=template_id, job_id=new_job.id))
299299

services/web/server/src/simcore_service_webserver/storage/_handlers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
parse_request_path_parameters_as,
2323
parse_request_query_parameters_as,
2424
)
25-
from servicelib.aiohttp.rest_responses import create_data_response, unwrap_envelope
25+
from servicelib.aiohttp.rest_responses import create_data_response
2626
from servicelib.common_headers import X_FORWARDED_PROTO
2727
from servicelib.request_keys import RQT_USERID_KEY
28+
from servicelib.rest_responses import unwrap_envelope
2829
from yarl import URL
2930

3031
from .._meta import API_VTAG

0 commit comments

Comments
 (0)