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

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: gcl is now a happier place Created 8 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
Index: tests/git_cl_test.py
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 8b46eba0a52717412185ac32cb28929bbd9eb89a..3dc1b45dee4e0118ef7a6a3f29ffec735b064452 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -201,12 +201,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...'
« tests/gcl_unittest.py ('K') | « tests/gcl_unittest.py ('k') | third_party/upload.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698