Skip to content

Commit ec79707

Browse files
authored
Replace tqdm with tldm for progress tracking
1 parent 8d00d56 commit ec79707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/_main_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import aiohttp
1111
import pytest
1212
from aiohttp.http_exceptions import HttpProcessingError
13-
from tqdm import tqdm
13+
from tldm import tldm
1414

1515
from sqlite_export_for_ynab import default_db_path
1616
from sqlite_export_for_ynab._main import _ALL_RELATIONS
@@ -412,7 +412,7 @@ async def test_progress_ynab_client_ok(mock_aioresponses):
412412
expected = {"example": [{"id": 1, "value": 2}, {"id": 3, "value": 4}]}
413413
mock_aioresponses.get(EXAMPLE_ENDPOINT_RE, body=json.dumps({"data": expected}))
414414

415-
with tqdm(disable=True) as pbar:
415+
with tldm(disable=True) as pbar:
416416
async with aiohttp.ClientSession(loop=asyncio.get_event_loop()) as session:
417417
pyc = ProgressYnabClient(YnabClient(TOKEN, session), pbar)
418418
entries = await pyc("example")

0 commit comments

Comments
 (0)