Skip to content

Commit 4657516

Browse files
committed
Fix tests
1 parent f0c8047 commit 4657516

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def test_clone():
136136
"max_pool_size": 30,
137137
"launch_id": "test-123",
138138
"http_timeout": (30, 30),
139-
"log_batch_payload_size": 1000000,
139+
"log_batch_payload_limit": 1000000,
140140
"mode": "DEBUG",
141141
}
142142
client = RPClient(*args, **kwargs)
@@ -155,7 +155,7 @@ def test_clone():
155155
and cloned.launch_uuid == kwargs["launch_id"]
156156
and cloned.launch_id == kwargs["launch_id"]
157157
and cloned.http_timeout == kwargs["http_timeout"]
158-
and cloned.log_batch_payload_limit == kwargs["log_batch_payload_size"]
158+
and cloned.log_batch_payload_limit == kwargs["log_batch_payload_limit"]
159159
and cloned.mode == kwargs["mode"]
160160
)
161161
assert cloned._item_stack.qsize() == 1 and client.current_item() == cloned.current_item()
@@ -405,7 +405,7 @@ def test_clone_with_oauth():
405405
"max_pool_size": 30,
406406
"launch_id": "test-123",
407407
"http_timeout": (30, 30),
408-
"log_batch_payload_size": 1000000,
408+
"log_batch_payload_limit": 1000000,
409409
"mode": "DEBUG",
410410
}
411411
client = RPClient(*args, **kwargs)
@@ -430,7 +430,7 @@ def test_clone_with_oauth():
430430
and cloned.launch_uuid == kwargs["launch_id"]
431431
and cloned.launch_id == kwargs["launch_id"]
432432
and cloned.http_timeout == kwargs["http_timeout"]
433-
and cloned.log_batch_payload_limit == kwargs["log_batch_payload_size"]
433+
and cloned.log_batch_payload_limit == kwargs["log_batch_payload_limit"]
434434
and cloned.mode == kwargs["mode"]
435435
)
436436
assert cloned._item_stack.qsize() == 1 and client.current_item() == cloned.current_item()

0 commit comments

Comments
 (0)