Index: tests/git_cl_test.py |
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py |
index 0c5bd373c300640b693c2d8c390893f2adf10df9..68be49f792cccf455404b6dfe0428cfa4c43e64a 100755 |
--- a/tests/git_cl_test.py |
+++ b/tests/git_cl_test.py |
@@ -96,6 +96,7 @@ class TestGitCl(TestCase): |
self.mock(git_cl.upload, 'RealMain', self.fail) |
self.mock(git_cl.watchlists, 'Watchlists', WatchlistsMock) |
self.mock(git_cl.auth, 'get_authenticator_for_host', AuthenticatorMock) |
+ self.mock(git_cl.auth, '_should_use_oauth2', lambda: False) |
# It's important to reset settings to not have inter-tests interference. |
git_cl.settings = None |