mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Fix indentation
This commit is contained in:
@@ -22,7 +22,7 @@ class Issue134(Framework.BasicTestCase): # https://github.com/jacquev6/PyGithub
|
||||
g = github.Github(self.oauth_token)
|
||||
raised = False
|
||||
try:
|
||||
list(g.get_user().get_authorizations())
|
||||
list(g.get_user().get_authorizations())
|
||||
except github.GithubException, exception:
|
||||
raised = True
|
||||
self.assertEqual(exception.status, 404)
|
||||
@@ -30,4 +30,4 @@ class Issue134(Framework.BasicTestCase): # https://github.com/jacquev6/PyGithub
|
||||
|
||||
def testGetAuthorizationsSucceedsWhenAutenticatedThroughLoginPassword(self):
|
||||
g = github.Github(self.login, self.password)
|
||||
self.assertListKeyEqual(g.get_user().get_authorizations(), lambda a: a.note, [None, None, 'cligh', None, None, 'GitHub Android App'])
|
||||
self.assertListKeyEqual(g.get_user().get_authorizations(), lambda a: a.note, [None, None, 'cligh', None, None, 'GitHub Android App'])
|
||||
|
||||
Reference in New Issue
Block a user