[evolution] tests: don't prompt for default mail handler
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] tests: don't prompt for default mail handler
- Date: Fri, 25 Apr 2014 21:10:12 +0000 (UTC)
commit 9c1ed98993216b22b1213daf88d335d53a7b7b1a
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Fri Apr 25 13:41:43 2014 +0200
tests: don't prompt for default mail handler
tests/common_steps.py | 3 ++-
tests/environment.py | 3 ---
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/tests/common_steps.py b/tests/common_steps.py
index 3752142..08b64af 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 c9165e0..a9098e6 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")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]