示例#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