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

Unified Diff: tests/gclient_utils_test.py

Issue 3737001: Fix a bug in gclient recurse for git-svn users. Make gclient_utils.CheckCall more versatile. (Closed)
Patch Set: Created 10 years, 2 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 | « gclient_utils.py ('k') | trychange.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_utils_test.py
diff --git a/tests/gclient_utils_test.py b/tests/gclient_utils_test.py
index b81775dcec548a0cf9e0db80d2f4ed4e071cbace..ee05aae20357292c247cd61b49327f34f887344c 100755
--- a/tests/gclient_utils_test.py
+++ b/tests/gclient_utils_test.py
@@ -43,19 +43,19 @@ class CheckCallTestCase(GclientUtilBase):
process = self.mox.CreateMockAnything()
process.returncode = 0
gclient_utils.Popen(
- args, cwd=None,
+ args, cwd='bar',
stderr=None,
stdout=gclient_utils.subprocess.PIPE).AndReturn(process)
process.communicate().AndReturn(['bleh', 'foo'])
self.mox.ReplayAll()
- gclient_utils.CheckCall(args)
+ gclient_utils.CheckCall(args, cwd='bar')
def testCheckCallFailure(self):
args = ['boo', 'foo', 'bar']
process = self.mox.CreateMockAnything()
process.returncode = 42
gclient_utils.Popen(
- args, cwd=None,
+ args,
stderr=None,
stdout=gclient_utils.subprocess.PIPE).AndReturn(process)
process.communicate().AndReturn(['bleh', 'foo'])
« no previous file with comments | « gclient_utils.py ('k') | trychange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698