change response content for test

This commit is contained in:
Javi Santana 2020-08-14 15:31:54 +02:00
parent cb80eba410
commit f04f984fb2

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 'ok.\n' == cluster.instance.http_request('replicas_status?verbose=1', method='get').content
assert '\n' == 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