Expect empty content on verbose response

This commit is contained in:
Ivan 2020-08-18 14:59:57 +03:00 committed by GitHub
parent ce64a73342
commit cd22abbfe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ def test_defaults_http_handlers():
assert 'Ok.\n' == cluster.instance.http_request('replicas_status', method='get').content
assert 200 == cluster.instance.http_request('replicas_status?verbose=1', method='get').status_code
assert '\n' == cluster.instance.http_request('replicas_status?verbose=1', method='get').content
assert '' == cluster.instance.http_request('replicas_status?verbose=1', method='get').content
assert 200 == cluster.instance.http_request('?query=SELECT+1', method='GET').status_code
assert '1\n' == cluster.instance.http_request('?query=SELECT+1', method='GET').content