We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53b257a commit 3a2b858Copy full SHA for 3a2b858
services/storage/tests/unit/test_api__worker_tasks__tqdm_utils.py
@@ -1,15 +1,15 @@
1
from time import sleep
2
3
-from simcore_service_storage.api._worker_tasks._tqdm_utils import (
4
- get_export_progress,
5
- set_absolute_progress,
+from simcore_service_storage.api._worker_tasks._progress_utils import (
+ get_tqdm_progress,
+ set_tqdm_absolute_progress,
6
)
7
8
9
def test_get_export_progess():
10
items = 10
11
- with get_export_progress(total=1, description="test") as pbar:
+ with get_tqdm_progress(total=1, description="test") as pbar:
12
# Run tasks and call the callback each time
13
for k in [i / (items - 1) for i in range(items)]:
14
sleep(0.01)
15
- set_absolute_progress(pbar, current_progress=k)
+ set_tqdm_absolute_progress(pbar, current_progress=k)
0 commit comments