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

Unified Diff: tests/scm_unittest.py

Issue 3117039: Refactor SubprocessCallAndFilter() to remove positional arguments. (Closed)
Patch Set: Created 10 years, 4 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 | « tests/gclient_utils_test.py ('k') | trychange.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/scm_unittest.py
diff --git a/tests/scm_unittest.py b/tests/scm_unittest.py
index ac1e340264efe1b9491c886983e90fc21c281b8b..b5ea9ba236761e54d132e71aa72824cd466d0952 100755
--- a/tests/scm_unittest.py
+++ b/tests/scm_unittest.py
@@ -316,9 +316,9 @@ class SVNTestCase(BaseSCMTestCase):
def testRun(self):
param2 = 'bleh'
scm.gclient_utils.SubprocessCall(['svn', 'foo', 'bar'],
- param2).AndReturn(None)
+ cwd=param2).AndReturn(None)
self.mox.ReplayAll()
- scm.SVN.Run(['foo', 'bar'], param2)
+ scm.SVN.Run(['foo', 'bar'], cwd=param2)
def testCaptureStatusEmpty(self):
text = r"""<?xml version="1.0"?>
« no previous file with comments | « tests/gclient_utils_test.py ('k') | trychange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698