Beispiel #1
0
 def __init__(self, *args, **kwargs):
     super(TestGistAPI, self).__init__(*args, **kwargs)
     self.api = Gist(opts.get('access_token'))
Beispiel #2
0
 def test_access_token(self):
     with self.assertRaises(GistException):
         Gist('')
     self.assertIsInstance(self.api, Gist)
     self.assertIsNotNone(self.api)