Ejemplo n.º 1
0
 def test_base_endpoint_init(self):
     client = APIClient("username", "password", "app_key")
     scores = Scores(client)
     assert scores.connect_timeout == 3.05
     assert scores._error == APIError
     assert scores.client == client
     assert scores.URI == "ScoresAPING/v1.0/"
Ejemplo n.º 2
0
 def test_base_endpoint_init(self):
     client = APIClient('username', 'password', 'app_key')
     scores = Scores(client)
     assert scores.connect_timeout == 3.05
     assert scores._error == APIError
     assert scores.client == client
     assert scores.URI == 'ScoresAPING/v1.0/'
Ejemplo n.º 3
0
 def setUp(self):
     client = APIClient("username", "password", "app_key", "UK")
     self.scores = Scores(client)
Ejemplo n.º 4
0
 def setUp(self):
     client = APIClient('username', 'password', 'app_key', 'UK')
     self.scores = Scores(client)