Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: tests/git_cl_test.py

Issue 1659633003: Abort if a patch set title is provided for a Gerrit server (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « git_cl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_cl_test.py
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 5ea4b13589dd2d69223fa426b4c7ac222ca5918c..c62c1ed7b5d83681bcd1a29e638cae790b552b74 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -717,6 +717,9 @@ class TestGitCl(TestCase):
return '\n'.join(branch_deps)
self.mock(git_cl, 'RunGit', mock_run_git)
+ git_cl.settings = git_cl.Settings()
+ self.mock(git_cl.settings, 'GetIsGerrit', lambda: False)
+
class RecordCalls:
times_called = 0
record_calls = RecordCalls()
« no previous file with comments | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698