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

Unified Diff: tests/gclient_scm_test.py

Issue 3333028: Improve the testing situation on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: 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/fake_repos.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_scm_test.py
===================================================================
--- tests/gclient_scm_test.py (revision 59107)
+++ tests/gclient_scm_test.py (working copy)
@@ -597,6 +597,8 @@
self.enabled = self.CreateGitRepo(self.sample_git_import, self.base_path)
def tearDown(self):
+ if not self.enabled:
+ self.checkstdout('')
GCBaseTestCase.tearDown(self)
TestCaseUtils.tearDown(self)
unittest.TestCase.tearDown(self)
@@ -611,7 +613,8 @@
# If you add a member, be sure to add the relevant test!
self.compareMembers(gclient_scm.CreateSCM(url=self.url), members)
- self.checkstdout('')
+ if self.enabled:
+ self.checkstdout('')
def testRevertMissing(self):
if not self.enabled:
« no previous file with comments | « tests/fake_repos.py ('k') | tests/gclient_smoketest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698