diff options
author | Vadim Rutkovsky <vrutkovs@redhat.com> | 2014-04-25 19:41:43 +0800 |
---|---|---|
committer | Vadim Rutkovsky <vrutkovs@redhat.com> | 2014-04-26 05:09:38 +0800 |
commit | 9c1ed98993216b22b1213daf88d335d53a7b7b1a (patch) | |
tree | 3a7246fd863adaae0e42ad243503805ac3da7d94 /tests | |
parent | 47eb4b546fe25ec6efc8a4b97294b8024d1424d2 (diff) | |
download | gsoc2013-evolution-9c1ed98993216b22b1213daf88d335d53a7b7b1a.tar gsoc2013-evolution-9c1ed98993216b22b1213daf88d335d53a7b7b1a.tar.gz gsoc2013-evolution-9c1ed98993216b22b1213daf88d335d53a7b7b1a.tar.bz2 gsoc2013-evolution-9c1ed98993216b22b1213daf88d335d53a7b7b1a.tar.lz gsoc2013-evolution-9c1ed98993216b22b1213daf88d335d53a7b7b1a.tar.xz gsoc2013-evolution-9c1ed98993216b22b1213daf88d335d53a7b7b1a.tar.zst gsoc2013-evolution-9c1ed98993216b22b1213daf88d335d53a7b7b1a.zip |
tests: don't prompt for default mail handler
Diffstat (limited to 'tests')
-rw-r--r-- | tests/common_steps.py | 3 | ||||
-rw-r--r-- | tests/environment.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/common_steps.py b/tests/common_steps.py index 3752142f9d..08b64affb4 100644 --- a/tests/common_steps.py +++ b/tests/common_steps.py @@ -194,7 +194,8 @@ def cleanup(): system("gsettings set org.gnome.evolution.shell skip-warning-dialog true") # Show switcher buttons as icons (to minimize tree scrolling) system("gsettings set org.gnome.evolution.shell buttons-style icons") - + # Skip default mailer handler dialog + system("gsettings set org.gnome.evolution.mail prompt-check-if-default-mailer false") def check_for_errors(context): diff --git a/tests/environment.py b/tests/environment.py index c9165e0bdd..a9098e6904 100644 --- a/tests/environment.py +++ b/tests/environment.py @@ -16,9 +16,6 @@ def before_all(context): """ try: - # Set evolution as default email client - os.system("echo 'x-scheme-handler/mailto=evolution.desktop' >> ~/.local/share/applications/mimeapps.list") - # Close running evo instances os.system("evolution --force-shutdown > /dev/null") |