diff options
Diffstat (limited to 'tests/functional/test0.py')
-rwxr-xr-x | tests/functional/test0.py | 6 |
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) |