Ejemplo n.º 1
0
 def test_base_endpoint_init(self):
     client = APIClient('username', 'password', 'app_key')
     betting = Betting(client)
     assert betting.connect_timeout == 3.05
     assert betting.read_timeout == 16
     assert betting._error == APIError
     assert betting.client == client
     assert betting.URI == 'SportsAPING/v1.0/'
Ejemplo n.º 2
0
 def setUp(self):
     client = APIClient('username', 'password', 'app_key', 'UK')
     self.betting = Betting(client)
Ejemplo n.º 3
0
 def setUp(self):
     client = APIClient("username", "password", "app_key", "UK")
     self.betting = Betting(client)