diff options
author | Taras Voinarovskyi <voyn1991@gmail.com> | 2017-03-07 00:59:26 +0200 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2017-03-06 14:59:26 -0800 |
commit | 9c19ea7cbe163b0c434ce9dd9c8c42471027cce5 (patch) | |
tree | 8802dfc07e053279d18be591af11a1a4edf4988c /test/test_fetcher.py | |
parent | ff6f7bf085b912090b436da1c99f6f8f4cf66f94 (diff) | |
download | kafka-python-9c19ea7cbe163b0c434ce9dd9c8c42471027cce5.tar.gz |
Added `max_bytes` option and FetchRequest_v3 usage. (#962)
* Added `max_bytes` option and FetchRequest_v3 usage.
* Add checks for versions above 0.10 based on ApiVersionResponse
Diffstat (limited to 'test/test_fetcher.py')
-rw-r--r-- | test/test_fetcher.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_fetcher.py b/test/test_fetcher.py index 984de88..dcfba78 100644 --- a/test/test_fetcher.py +++ b/test/test_fetcher.py @@ -58,7 +58,8 @@ def test_send_fetches(fetcher, mocker): @pytest.mark.parametrize(("api_version", "fetch_version"), [ - ((0, 10), 2), + ((0, 10, 1), 3), + ((0, 10, 0), 2), ((0, 9), 1), ((0, 8), 0) ]) |