Exemple #1
0
def new_test_client(address='', session=None):
    return v3f.HTTPClient(
        address=address or 'http://example.com',
        session=session,
    )
Exemple #2
0
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
Exemple #3
0
def new_test_client(address='', session=None):
    return v3f.HTTPClient(
        address=address or 'http://example.com',
        session=session,
        should_check_version=False,
    )