Merge pull request #210 from pcostell/master
Make test_oauth2client not executable so it runs with nose.
This commit is contained in:
2
tests/test_oauth2client.py
Executable file → Normal file
2
tests/test_oauth2client.py
Executable file → Normal file
@@ -1051,7 +1051,7 @@ class OAuth2WebServerFlowTest(unittest.TestCase):
|
||||
# Did we pass the Authorization header?
|
||||
self.assertEqual(test_request['headers']['Authorization'], auth_header)
|
||||
# Did we omit client_secret from POST body?
|
||||
self.assertNotIn('client_secret', test_request['body'])
|
||||
self.assertTrue('client_secret' not in test_request['body'])
|
||||
|
||||
def test_urlencoded_exchange_success(self):
|
||||
http = HttpMockSequence([
|
||||
|
||||
Reference in New Issue
Block a user