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:
authorSimon Poirier <simpoir@gmail.com>2009-05-18 20:27:41 (GMT)
committer Simon Poirier <simpoir@gmail.com>2009-06-01 04:50:00 (GMT)
commitf347ec202fe5b4404fa380694d7fe3d3d070ae7b (patch)
tree89f10094b90489fc43b8ec209b16d94ff2405147 /src/sugar/tutorius/tests/serializertests.py
parent6fa568daae3291c7a876cd903f04079a12945dcb (diff)
fixed major missing parts in bundler
integrated bundler to creator tutorial loading still is unusable (fiters don't seem to load)
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)