aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/environment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/environment.py b/tests/environment.py
index a9098e6904..c9165e0bdd 100644
--- a/tests/environment.py
+++ b/tests/environment.py
@@ -16,6 +16,9 @@ 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")