Skip to content

Commit 3a2b858

Browse files
author
Andrei Neagu
committed
rename
1 parent 53b257a commit 3a2b858

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
from time import sleep
22

3-
from simcore_service_storage.api._worker_tasks._tqdm_utils import (
4-
get_export_progress,
5-
set_absolute_progress,
3+
from simcore_service_storage.api._worker_tasks._progress_utils import (
4+
get_tqdm_progress,
5+
set_tqdm_absolute_progress,
66
)
77

88

99
def test_get_export_progess():
1010
items = 10
11-
with get_export_progress(total=1, description="test") as pbar:
11+
with get_tqdm_progress(total=1, description="test") as pbar:
1212
# Run tasks and call the callback each time
1313
for k in [i / (items - 1) for i in range(items)]:
1414
sleep(0.01)
15-
set_absolute_progress(pbar, current_progress=k)
15+
set_tqdm_absolute_progress(pbar, current_progress=k)

0 commit comments

Comments
 (0)