Esempio n. 1
0
def logged_in_client(client):
    client = betfair.Betfair(app_key='test', cert_file='path/to/cert')
    client.session_token = 'secret'
    return client
Esempio n. 2
0
def test_api_url(locale, api_url):
    client_ = betfair.Betfair('', '', locale=locale)
    assert client_.api_url == api_url
Esempio n. 3
0
def client():
    return betfair.Betfair(app_key='test', cert_file='path/to/cert')
Esempio n. 4
0
def test_identity_url(locale, identity_url):
    client_ = betfair.Betfair('', '', locale=locale)
    assert client_.identity_url == identity_url