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

Unified Diff: tests/checkout_test.py

Issue 14729012: Fix many (but not all[1]) depot_tools tests on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Fix SvnCheckout.testMove flakiness Created 7 years, 7 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 | « no previous file | tests/gclient_scm_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/checkout_test.py
diff --git a/tests/checkout_test.py b/tests/checkout_test.py
index 5486fac803f0357ec8329a4d4544d9e5be5777a5..46617dafe63709152428223f8d975fe1f79d2140 100755
--- a/tests/checkout_test.py
+++ b/tests/checkout_test.py
@@ -401,9 +401,12 @@ class SvnCheckout(SvnBaseTest):
self._check_move(co)
out = subprocess2.check_output(
['svn', 'status'], cwd=co.project_path)
- expected = (
- 'A + chromeos/views/webui_menu_widget.h\n'
- 'D chromeos/views/DOMui_menu_widget.h\n')
+ out = sorted(out.splitlines())
+ expected = sorted(
+ [
+ 'A + chromeos/views/webui_menu_widget.h',
+ 'D chromeos/views/DOMui_menu_widget.h',
+ ])
self.assertEquals(expected, out)
# Make sure ancestry is what is expected;
env = os.environ.copy()
« no previous file with comments | « no previous file | tests/gclient_scm_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698