Skip to content

Commit 48b5414

Browse files
committed
Rename param in tests
1 parent a376d55 commit 48b5414

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/integration/test_model.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ async def test_wait_for_idle_with_not_enough_units(event_loop):
865865
num_units=2,
866866
)
867867
with pytest.raises(jasyncio.TimeoutError):
868-
await model.wait_for_idle(timeout=5 * 60, wait_for_units=3)
868+
await model.wait_for_idle(timeout=5 * 60, wait_for_at_least_units=3)
869869

870870

871871
@base.bootstrapped
@@ -885,9 +885,9 @@ async def test_wait_for_idle_more_units_than_needed(event_loop):
885885
num_units=1,
886886
)
887887

888-
# because the wait_for_units=1, wait_for_idle should return without timing out
888+
# because the wait_for_at_least_units=1, wait_for_idle should return without timing out
889889
# even though there are two more units that aren't active/idle
890-
await model.wait_for_idle(timeout=5 * 60, wait_for_units=1, status='active')
890+
await model.wait_for_idle(timeout=5 * 60, wait_for_at_least_units=1, status='active')
891891

892892

893893
@base.bootstrapped
@@ -902,7 +902,7 @@ async def test_wait_for_idle_with_enough_units(event_loop):
902902
channel='stable',
903903
num_units=3,
904904
)
905-
await model.wait_for_idle(timeout=5 * 60, wait_for_units=3)
905+
await model.wait_for_idle(timeout=5 * 60, wait_for_at_least_units=3)
906906

907907

908908
@base.bootstrapped

0 commit comments

Comments
 (0)