Commit 9c1ed989 authored by Vadim Rutkovsky's avatar Vadim Rutkovsky

tests: don't prompt for default mail handler

parent 47eb4b54
......@@ -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):
......
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment