Meant to use bad_api for these Tests
This commit is contained in:
parent
894e94a4cd
commit
815393cc33
1 changed files with 2 additions and 2 deletions
|
|
@ -35,12 +35,12 @@ class TwythonAuthTestCase(unittest.TestCase):
|
||||||
def test_get_authentication_tokens_bad_tokens(self):
|
def test_get_authentication_tokens_bad_tokens(self):
|
||||||
'''Test getting authentication tokens with bad tokens
|
'''Test getting authentication tokens with bad tokens
|
||||||
raises TwythonAuthError'''
|
raises TwythonAuthError'''
|
||||||
self.assertRaises(TwythonAuthError, self.api.get_authentication_tokens,
|
self.assertRaises(TwythonAuthError, self.bad_api.get_authentication_tokens,
|
||||||
callback_url='http://google.com/')
|
callback_url='http://google.com/')
|
||||||
|
|
||||||
def test_get_authorized_tokens_bad_tokens(self):
|
def test_get_authorized_tokens_bad_tokens(self):
|
||||||
'''Test getting final tokens fails with wrong tokens'''
|
'''Test getting final tokens fails with wrong tokens'''
|
||||||
self.assertRaises(TwythonError, self.api.get_authorized_tokens,
|
self.assertRaises(TwythonError, self.bad_api.get_authorized_tokens,
|
||||||
'BAD_OAUTH_VERIFIER')
|
'BAD_OAUTH_VERIFIER')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue