aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/common_steps.py3
-rw-r--r--tests/environment.py3
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")