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

Unified Diff: tests/git_cl_test.py

Issue 2318903002: Prompt to delete pending edits before changing the Gerrit CL description. (Closed)
Patch Set: CL comments Created 4 years, 3 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 961801ed8ff7208b40981666d6b7cf41947ac951..f13d3d722fa69ec6526455980e6cac472b7e1c78 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -38,7 +38,7 @@ class ChangelistMock(object):
return 1
def GetDescription(self):
return ChangelistMock.desc
- def UpdateDescription(self, desc):
+ def UpdateDescription(self, desc, force=False):
ChangelistMock.desc = desc
@@ -1664,7 +1664,7 @@ class TestGitCl(TestCase):
# Simulate user changing something.
return 'Some.\n\nBUG=123\n\nChange-Id: xxx'
- def UpdateDescriptionRemote(_, desc):
+ def UpdateDescriptionRemote(_, desc, force=False):
self.assertEquals(desc, 'Some.\n\nBUG=123\n\nChange-Id: xxx')
self.mock(git_cl.sys, 'stdout', StringIO.StringIO())
« 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