changeset 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 e89dd99638ce
children 20ffb6486412
files tests/__init__.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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('..')