Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/tutorius/tests/serializertests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/tutorius/tests/serializertests.py')
-rw-r--r--src/sugar/tutorius/tests/serializertests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar/tutorius/tests/serializertests.py b/src/sugar/tutorius/tests/serializertests.py
index bc29601..097e570 100644
--- a/src/sugar/tutorius/tests/serializertests.py
+++ b/src/sugar/tutorius/tests/serializertests.py
@@ -70,6 +70,7 @@ class XMLSerializerTest(unittest.TestCase):
self.testpath = "/tmp/testdata/"
os.environ["SUGAR_BUNDLE_PATH"] = self.testpath
os.environ["SUGAR_PREFIX"] = self.testpath
+ os.environ["SUGAR_PROFILE"] = 'test'
## os.mkdir(sugar.tutorius.bundler._get_store_root())
# Create the sample FSM
@@ -103,6 +104,7 @@ class XMLSerializerTest(unittest.TestCase):
"""
if self.remove == True:
os.remove(os.path.join(sugar.tutorius.bundler._get_store_root(), str(self.uuid)) + "/fsm.xml")
+ shutil.rmtree(os.path.join(os.getenv("HOME"),".sugar",os.getenv("SUGAR_PROFILE")))
if os.path.isdir(self.testpath):
shutil.rmtree(self.testpath)