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

Unified Diff: tests/gclient_test.py

Issue 216044: Implement fixes requested in review http://codereview.chromium.org/215039 (Closed)
Patch Set: Created 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_test.py
diff --git a/tests/gclient_test.py b/tests/gclient_test.py
index 479add60b82a97f4202cd4dafccd51eecedfa4d4..aa341f3cb4f84923f7586350ad5b7320bc2e8479 100644
--- a/tests/gclient_test.py
+++ b/tests/gclient_test.py
@@ -1092,8 +1092,8 @@ class SCMWrapperTestCase(GClientBaseTestCase):
base_path = os.path.join(self.root_dir, self.relpath)
gclient.os.path.isdir(base_path).AndReturn(True)
gclient_scm.CaptureSVNStatus(base_path).AndReturn([])
- gclient_scm.RunSVNAndGetFileList(['update', '--revision', 'BASE'], base_path,
- mox.IgnoreArg())
+ gclient_scm.RunSVNAndGetFileList(['update', '--revision', 'BASE'],
+ base_path, mox.IgnoreArg())
self.mox.ReplayAll()
scm = self._scm_wrapper(url=self.url, root_dir=self.root_dir,
@@ -1118,8 +1118,8 @@ class SCMWrapperTestCase(GClientBaseTestCase):
gclient_scm.os.path.exists(file_path2).AndReturn(True)
gclient_scm.os.path.isfile(file_path2).AndReturn(True)
gclient_scm.os.remove(file_path2)
- gclient_scm.RunSVNAndGetFileList(['update', '--revision', 'BASE'], base_path,
- mox.IgnoreArg())
+ gclient_scm.RunSVNAndGetFileList(['update', '--revision', 'BASE'],
+ base_path, mox.IgnoreArg())
print(os.path.join(base_path, 'a'))
print(os.path.join(base_path, 'b'))
@@ -1142,7 +1142,6 @@ class SCMWrapperTestCase(GClientBaseTestCase):
gclient_scm.os.path.exists(file_path).AndReturn(True)
gclient_scm.os.path.isfile(file_path).AndReturn(False)
gclient_scm.os.path.isdir(file_path).AndReturn(True)
- #gclient_scm.os.remove(file_path)
gclient_utils.RemoveDirectory(file_path)
file_list1 = []
gclient_scm.RunSVNAndGetFileList(['update', '--revision', 'BASE'], base_path,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698