Index: tests/gclient_scm_test.py |
diff --git a/tests/gclient_scm_test.py b/tests/gclient_scm_test.py |
index 0341229c37f775d0826f43501b3f6d5b457eed87..55bc9c365e5df808d4a4cac2c9612d5a163cf43e 100755 |
--- a/tests/gclient_scm_test.py |
+++ b/tests/gclient_scm_test.py |
@@ -24,8 +24,12 @@ from testing_support.super_mox import mox, StdoutCheck, SuperMoxTestBase |
from testing_support.super_mox import TestCaseUtils |
import gclient_scm |
+import git_cache |
import subprocess2 |
+# Disable global git cache |
+git_cache.Mirror.SetCachePath(None) |
+ |
# Shortcut since this function is used often |
join = gclient_scm.os.path.join |
@@ -1571,11 +1575,11 @@ class UnmanagedGitWrapperTestCase(BaseGitWrapperTestCase): |
if __name__ == '__main__': |
- if '-v' in sys.argv: |
- logging.basicConfig( |
- level=logging.DEBUG, |
- format='%(asctime).19s %(levelname)s %(filename)s:' |
- '%(lineno)s %(message)s') |
+ level = logging.DEBUG if '-v' in sys.argv else logging.FATAL |
+ logging.basicConfig( |
+ level=level, |
+ format='%(asctime).19s %(levelname)s %(filename)s:' |
+ '%(lineno)s %(message)s') |
unittest.main() |
# vim: ts=2:sw=2:tw=80:et: |