Example #1
0
 def test_construct_with_access_token_config(self):
     client = predicthq.Client()
     self.assertEqual(client.access_token, 'token123')
Example #2
0
 def setUp(self):
     self.client = predicthq.Client()
Example #3
0
 def test_construct_with_access_token(self):
     client = predicthq.Client(access_token='token123')
     assert client.access_token == 'token123'