Skip to content

Commit 3c1ff9b

Browse files
ensure total links is maintained
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent e11c065 commit 3c1ff9b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/unit/test_cloud_fetch_queue.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,11 @@ def test_initializer_adds_links(self, mock_create_next_table):
6969
description=description,
7070
)
7171

72-
assert len(queue.download_manager._pending_links) == 10
73-
assert len(queue.download_manager._download_tasks) == 0
72+
assert (
73+
len(queue.download_manager._pending_links)
74+
+ len(queue.download_manager._download_tasks)
75+
== 10
76+
)
7477
mock_create_next_table.assert_called()
7578

7679
def test_initializer_no_links_to_add(self):

0 commit comments

Comments
 (0)