diff tests/__init__.py @ 70:bdc1650f216c

tests: set HGRCPATH so local hgrc's aren't loaded
author Idan Kamara <idankk86@gmail.com>
date Fri, 09 Sep 2011 23:05:57 +0300
parents 730c42743ba3
children 20ffb6486412
line wrap: on
line diff
--- a/tests/__init__.py	Fri Sep 09 19:10:02 2011 +0300
+++ b/tests/__init__.py	Fri Sep 09 23:05:57 2011 +0300
@@ -16,6 +16,7 @@
     os.environ["HGENCODINGMODE"] = "strict"
     tmpdir = tempfile.mkdtemp('', 'python-hglib.')
     os.environ["HGTMP"] = os.path.realpath(tmpdir)
+    os.environ["HGRCPATH"] = ""
 
 def tearDown(self):
     os.chdir('..')