summaryrefslogtreecommitdiff
path: root/tests/functional/test0.py
diff options
context:
space:
mode:
authorAbdiel Janulgue <abdiel.janulgue@nokia.com>2010-09-16 02:27:45 +0300
committerAbdiel Janulgue <abdiel.janulgue@nokia.com>2010-09-16 02:27:45 +0300
commitb6da94318069f4c47ff2401cbd34b43b9c134b40 (patch)
treeebd2ac4ac42a891ba481ea0ee2cd8a53bb879baf /tests/functional/test0.py
parentdff9894303cdc7b62b2e2852de452b90798a322b (diff)
parentacac9b8655f0ba1b7de0dbf2537410d46ede270a (diff)
Merge branch 'master' of git@gitorious.org:meegotouch/meegotouch-compositor0.7.0rc1
Diffstat (limited to 'tests/functional/test0.py')
-rwxr-xr-xtests/functional/test0.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/test0.py b/tests/functional/test0.py
index 1a8ab46..f47c2bc 100755
--- a/tests/functional/test0.py
+++ b/tests/functional/test0.py
@@ -13,6 +13,9 @@ import os, re, sys, time
if os.system('/sbin/mcetool --unblank-screen --set-tklock-mode=unlocked --set-inhibit-mode=stay-on'):
print 'mcetool is missing!'
+if os.system('/usr/bin/gconftool-2 --type bool --set /desktop/meego/notifications/previews_enabled false'):
+ print 'cannot disable notifications'
+
if os.system('pidof mcompositor'):
print 'mcompositor is not running'
sys.exit(1)
@@ -51,4 +54,7 @@ for l in s.splitlines():
os.popen('pkill windowctl')
time.sleep(1)
+if os.system('/usr/bin/gconftool-2 --type bool --set /desktop/meego/notifications/previews_enabled true'):
+ print 'cannot re-enable notifications'
+
sys.exit(ret)