summaryrefslogtreecommitdiff
path: root/tests/functional/test3.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/test3.py')
-rwxr-xr-xtests/functional/test3.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/test3.py b/tests/functional/test3.py
index ac71764..db9de57 100755
--- a/tests/functional/test3.py
+++ b/tests/functional/test3.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)
@@ -70,4 +73,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)