File tree 1 file changed +1
-3
lines changed
services/storage/tests/unit
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 7
7
# pylint:disable=unused-variable
8
8
9
9
10
- import asyncio
11
10
import datetime
12
11
import random
13
12
from pathlib import Path
@@ -77,7 +76,6 @@ async def _assert_compute_path_size(
77
76
location_id = location_id ,
78
77
path = path ,
79
78
)
80
- await asyncio .sleep (1 )
81
79
async for job_composed_result in wait_and_get_result (
82
80
storage_rpc_client ,
83
81
rpc_namespace = STORAGE_RPC_NAMESPACE ,
@@ -94,6 +92,7 @@ async def _assert_compute_path_size(
94
92
return received_size
95
93
96
94
pytest .fail ("Job did not finish" )
95
+ return ByteSize (0 ) # for mypy
97
96
98
97
99
98
async def _assert_delete_paths (
@@ -111,7 +110,6 @@ async def _assert_delete_paths(
111
110
location_id = location_id ,
112
111
paths = paths ,
113
112
)
114
- await asyncio .sleep (1 )
115
113
async for job_composed_result in wait_and_get_result (
116
114
storage_rpc_client ,
117
115
rpc_namespace = STORAGE_RPC_NAMESPACE ,
You can’t perform that action at this time.
0 commit comments