Beispiel #1
0
 def test_settings_required(self):
     with self.assertRaises(ImproperlyConfigured):
         client_connect()
Beispiel #2
0
 def test_connect_access_token(self):
     with self.assertRaises(NoAuthorizationError):
         try:
             client_connect()
         except requests.exceptions.ConnectionError:
             self.skipTest("No Internet connection")
Beispiel #3
0
 def get_client():
     return client_connect()