summaryrefslogtreecommitdiff
path: root/test/test_client_async.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_client_async.py')
-rw-r--r--test/test_client_async.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_client_async.py b/test/test_client_async.py
index 8874c67..97be827 100644
--- a/test/test_client_async.py
+++ b/test/test_client_async.py
@@ -236,13 +236,14 @@ def test_send(cli, conn):
cli._maybe_connect(0)
# ProduceRequest w/ 0 required_acks -> no response
request = ProduceRequest[0](0, 0, [])
+ assert request.expect_response() is False
ret = cli.send(0, request)
- assert conn.send.called_with(request, expect_response=False)
+ assert conn.send.called_with(request)
assert isinstance(ret, Future)
request = MetadataRequest[0]([])
cli.send(0, request)
- assert conn.send.called_with(request, expect_response=True)
+ assert conn.send.called_with(request)
def test_poll(mocker):