diff options
Diffstat (limited to 'tests/functional/test18.py')
-rwxr-xr-x | tests/functional/test18.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/functional/test18.py b/tests/functional/test18.py index 4ed3d0f..2035f7e 100755 --- a/tests/functional/test18.py +++ b/tests/functional/test18.py @@ -21,6 +21,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) @@ -103,4 +106,7 @@ check_window_order() 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) |