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

Unified Diff: tests/rietveld_test.py

Issue 7754016: Fix rietveld when status is only one char (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 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 | « rietveld.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/rietveld_test.py
diff --git a/tests/rietveld_test.py b/tests/rietveld_test.py
index 40092556f56fe7df6dfad24602aae3576c75dc1a..ca9ac67964994d328fa6c7d43ade89f4aab172a2 100755
--- a/tests/rietveld_test.py
+++ b/tests/rietveld_test.py
@@ -97,7 +97,7 @@ class RietveldTest(unittest.TestCase):
def test_get_patch_2_files(self):
self.requests = [
('/api/123/456',
- _api({'foo': _file('A '), 'file_a': _file('M ', chunk_id=790)})),
+ _api({'foo': _file('A'), 'file_a': _file('M', chunk_id=790)})),
('/download/issue123_456_789.diff', RAW.NEW),
('/download/issue123_456_790.diff', RAW.NEW_NOT_NULL),
]
@@ -109,7 +109,7 @@ class RietveldTest(unittest.TestCase):
def test_get_patch_add(self):
self.requests = [
- ('/api/123/456', _api({'foo': _file('A ')})),
+ ('/api/123/456', _api({'foo': _file('A')})),
('/download/issue123_456_789.diff', RAW.NEW),
]
patches = self.rietveld.get_patch(123, 456)
« no previous file with comments | « rietveld.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698