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