Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index 0fdc6c3..6235904 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -62,6 +62,7 @@ class Test(unittest.TestCase):
if exists(self.logfile):
os.unlink(self.logfile)
+ os.environ['XDG_DATA_HOME'] = tmpdir + '/share'
os.environ['SUGAR_LOGGER_LEVEL'] = 'all'
os.environ['HOME'] = tmpdir
profile_dir = join(tmpdir, '.sugar', 'default')