diff --git a/tests/test_subscriber.py b/tests/test_subscriber.py index 1853b60..622619f 100644 --- a/tests/test_subscriber.py +++ b/tests/test_subscriber.py @@ -32,8 +32,8 @@ def test_callback(data): tasks = create_tasks() total = len(tasks) subscriber = TQDMProgressSubscriber( - test_callback, - asyncio.as_completed(tasks), + test_callback, + asyncio.as_completed(tasks), total=total, mininterval=0, ) @@ -66,11 +66,7 @@ def test_callback(data): tasks = create_tasks(10) total = len(tasks) - subscriber = TQDMProgressSubscriber( - test_callback, - total=total, - mininterval=0 - ) + subscriber = TQDMProgressSubscriber(test_callback, total=total, mininterval=0) # Simulate updatse to trigger the callback for task in asyncio.as_completed(tasks):