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

Unified Diff: tests/git_cl_test.py

Issue 9233057: Update upload.py @ fae51921ad9d (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Rebase against HEAD Created 8 years, 10 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 | « tests/gcl_unittest.py ('k') | third_party/upload.py » ('j') | 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 2e50be27145db72f9636e425589e5136f6320acf..32a1aba762a24370e0c69b66ef5b4e1f23dd870f 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -199,12 +199,10 @@ class TestGitCl(TestCase):
@staticmethod
def _cmd_line(description, args):
"""Returns the upload command line passed to upload.RealMain()."""
- msg = description.split('\n', 1)[0]
return [
'upload', '--assume_yes', '--server',
'https://codereview.example.com',
- '--message', msg,
- '--description', description
+ '--message', description
] + args + [
'--cc', 'joe@example.com',
'master...'
« no previous file with comments | « tests/gcl_unittest.py ('k') | third_party/upload.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698