diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-08-04 14:22:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-04 14:22:40 -0700 |
commit | 68c8fa4ad01f8fef38708f257cb1c261cfac01ab (patch) | |
tree | 38d12fc11f82c492c68a4e04dbac26664862f541 /test/test_client_async.py | |
parent | 3c9b1b6fc498f95806ee12f67f84ea548ac1378f (diff) | |
parent | 025b69ef4ae22d1677904e99f924b9ef5a096e75 (diff) | |
download | kafka-python-68c8fa4ad01f8fef38708f257cb1c261cfac01ab.tar.gz |
Merge pull request #794 from dpkp/conn_metrics
Complete metrics instrumentation
Diffstat (limited to 'test/test_client_async.py')
-rw-r--r-- | test/test_client_async.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_client_async.py b/test/test_client_async.py index 8b3634a..b165f93 100644 --- a/test/test_client_async.py +++ b/test/test_client_async.py @@ -49,6 +49,7 @@ def test_bootstrap_success(conn): args, kwargs = conn.call_args assert args == ('localhost', 9092, socket.AF_UNSPEC) kwargs.pop('state_change_callback') + kwargs.pop('node_id') assert kwargs == cli.config conn.connect.assert_called_with() conn.send.assert_called_once_with(MetadataRequest[0]([])) @@ -62,6 +63,7 @@ def test_bootstrap_failure(conn): args, kwargs = conn.call_args assert args == ('localhost', 9092, socket.AF_UNSPEC) kwargs.pop('state_change_callback') + kwargs.pop('node_id') assert kwargs == cli.config conn.connect.assert_called_with() conn.close.assert_called_with() |