Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/session
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-09-10 01:07:10 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-10 01:07:10 (GMT)
commit7958f30744fe646507e3c654247b26480f2baf61 (patch)
tree63c450cad7615abefd5ea551cf89b470c418f84b /sugar/session
parent3884507a741856e3db77617bb6a85b3c2595e21b (diff)
Write a non ui test session.
Diffstat (limited to 'sugar/session')
-rw-r--r--sugar/session/Makefile.am1
-rw-r--r--sugar/session/TestSession.py9
2 files changed, 10 insertions, 0 deletions
diff --git a/sugar/session/Makefile.am b/sugar/session/Makefile.am
index 3434c44..8c1e4f7 100644
--- a/sugar/session/Makefile.am
+++ b/sugar/session/Makefile.am
@@ -5,4 +5,5 @@ sugar_PYTHON = \
Emulator.py \
MatchboxProcess.py \
Process.py \
+ TestSession.py \
UITestSession.py
diff --git a/sugar/session/TestSession.py b/sugar/session/TestSession.py
new file mode 100644
index 0000000..12fb639
--- /dev/null
+++ b/sugar/session/TestSession.py
@@ -0,0 +1,9 @@
+from sugar.session.DbusProcess import DbusProcess
+from sugar import env
+
+class TestSession:
+ def start(self):
+ env.setup_python_path()
+
+ process = DbusProcess()
+ process.start()