| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c178ba7 commit f0fed3f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,10 +17,9 @@ | |||
| 17 | 17 | ||
| 18 | 18 | def make_mock_credentials(): | |
| 19 | 19 | import mock | |
| 20 | - from oauth2client.client import GoogleCredentials | ||
| 20 | + from google.auth import credentials | ||
| 21 | 21 | ||
| 22 | - credentials = mock.Mock(spec=GoogleCredentials) | ||
| 23 | - credentials.create_scoped_required.return_value = False | ||
| 22 | + credentials = mock.Mock(spec=credentials.Credentials) | ||
| 24 | 23 | return credentials | |
| 25 | 24 | ||
| 26 | 25 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments