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

Unified Diff: tests/gclient_smoketest.py

Issue 795723003: Fix test failures on Ubuntu/Trusty. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years 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/gclient_smoketest.py
diff --git a/tests/gclient_smoketest.py b/tests/gclient_smoketest.py
index eb2275e059782a0e28837d438f3e266f8278127a..8bd9229e9abfaadd9d968c7c17aec93a2786eec9 100755
--- a/tests/gclient_smoketest.py
+++ b/tests/gclient_smoketest.py
@@ -1575,8 +1575,8 @@ class GClientSmokeFromCheckout(GClientSmokeBase):
results = self.gclient(['revert', '--deps', 'mac', '--jobs', '1'])
out = self.splitBlock(results[0])
self.assertEquals(2, len(out))
- self.checkString(2, len(out[0]))
- self.checkString(2, len(out[1]))
+ self.assertEquals(3, len(out[0]))
Sam Clegg 2014/12/10 21:25:38 I'm really not sure why the number of elements cha
M-A Ruel 2014/12/11 01:22:46 Bah, this could be just removed, it's not going to
Sam Clegg 2014/12/11 01:28:45 Should I remove this test then? I could find a pr
M-A Ruel 2014/12/11 01:57:00 No need.
Sam Clegg 2014/12/11 02:24:25 I looked into it and added comment. Can remove th
+ self.assertEquals(2, len(out[1]))
self.checkString('foo', out[1][1])
self.checkString('', results[1])
self.assertEquals(0, results[2])

Powered by Google App Engine
This is Rietveld 408576698