mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Expect empty content on verbose response
This commit is contained in:
parent
ce64a73342
commit
cd22abbfe3
@ -125,7 +125,7 @@ def test_defaults_http_handlers():
|
|||||||
assert 'Ok.\n' == cluster.instance.http_request('replicas_status', method='get').content
|
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 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 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
|
assert '1\n' == cluster.instance.http_request('?query=SELECT+1', method='GET').content
|
||||||
|
Loading…
Reference in New Issue
Block a user