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

Unified Diff: tests/gclient_utils_test.py

Issue 501143: Remove gclient-specific hacks from trychange into gcl. (Closed)
Patch Set: Small unit test fix Created 11 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
« gcl.py ('K') | « gclient_utils.py ('k') | tests/trychange_unittest.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 ca5b14a9ea7cd0cbe1ab4dcad814473fb4eb34f3..cbe91fa888eb02702393d54c116a21dac306f869 100644
--- a/tests/gclient_utils_test.py
+++ b/tests/gclient_utils_test.py
@@ -29,7 +29,7 @@ class CheckCallTestCase(SuperMoxTestBase):
def testCheckCallSuccess(self):
command = ['boo', 'foo', 'bar']
process = self.mox.CreateMockAnything()
- process.retcode = 0
+ process.returncode = 0
gclient_utils.subprocess.Popen(
command, cwd=None,
stdout=gclient_utils.subprocess.PIPE,
@@ -41,7 +41,7 @@ class CheckCallTestCase(SuperMoxTestBase):
def testCheckCallFailure(self):
command = ['boo', 'foo', 'bar']
process = self.mox.CreateMockAnything()
- process.retcode = 42
+ process.returncode = 42
gclient_utils.subprocess.Popen(
command, cwd=None,
stdout=gclient_utils.subprocess.PIPE,
« gcl.py ('K') | « gclient_utils.py ('k') | tests/trychange_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698