MCPcopy Index your code
hub / github.com/ryanmcgrath/twython / setUp

Method setUp

tests/test_auth.py:7–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5
6class TwythonAuthTestCase(unittest.TestCase):
7 def setUp(self):
8 self.api = Twython(app_key, app_secret)
9 self.bad_api = Twython('BAD_APP_KEY', 'BAD_APP_SECRET')
10 self.bad_api_invalid_tokens = Twython('BAD_APP_KEY', 'BAD_APP_SECRET',
11 'BAD_OT', 'BAD_OTS')
12
13 self.oauth2_api = Twython(app_key, app_secret, oauth_version=2)
14 self.oauth2_bad_api = Twython('BAD_APP_KEY', 'BAD_APP_SECRET',
15 oauth_version=2)
16
17 @unittest.skip('skipping non-updated test')
18 def test_get_authentication_tokens(self):

Callers

nothing calls this directly

Calls 1

TwythonClass · 0.90

Tested by

no test coverage detected