def new_test_client(address='', session=None): return v3f.HTTPClient( address=address or 'http://example.com', session=session, )
def test_integration_http_error(framesd): c = v3f.HTTPClient(framesd.http_addr, session=None) with pytest.raises(v3f.ReadError): for df in c.read('no-such-backend', table='no such table'): pass
def new_test_client(address='', session=None): return v3f.HTTPClient( address=address or 'http://example.com', session=session, should_check_version=False, )