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

Unified Diff: tests/git_cl_test.py

Issue 2318903002: Prompt to delete pending edits before changing the Gerrit CL description. (Closed)
Patch Set: 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
« git_cl.py ('K') | « 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..ea9f836322d1e62e6c3e4a0a90c162b385a157c7 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, force, desc):
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(_, force, desc):
self.assertEquals(desc, 'Some.\n\nBUG=123\n\nChange-Id: xxx')
self.mock(git_cl.sys, 'stdout', StringIO.StringIO())
« git_cl.py ('K') | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698