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

Unified Diff: tests/scm_unittest.py

Issue 3353018: Make gclient_scm_test much more silent (Closed)
Patch Set: gclient_scm_test can now be run Created 10 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 | « tests/gclient_scm_test.py ('k') | no next file » | 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 bc552ce4d2bd85f26438b996e6af545b5a60dca4..19339b520d9b99faa1f1291584a3f16e98923e26 100755
--- a/tests/scm_unittest.py
+++ b/tests/scm_unittest.py
@@ -60,8 +60,8 @@ class GitWrapperTestCase(BaseSCMTestCase):
def testGetEmail(self):
self.mox.StubOutWithMock(scm.GIT, 'Capture')
- scm.GIT.Capture(['config', 'user.email'], self.root_dir, error_ok=True
- ).AndReturn(['mini@me.com', ''])
+ scm.GIT.Capture(['config', 'user.email'], cwd=self.root_dir
+ ).AndReturn('mini@me.com')
self.mox.ReplayAll()
self.assertEqual(scm.GIT.GetEmail(self.root_dir), 'mini@me.com')
« no previous file with comments | « tests/gclient_scm_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698