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