[evolution] tests: set evo as default email client
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] tests: set evo as default email client
- Date: Thu, 24 Apr 2014 23:59:32 +0000 (UTC)
commit 6f0baa0627a847e5f84c16fc97acf5eee6d0068e
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Thu Apr 24 23:32:11 2014 +0200
tests: set evo as default email client
tests/environment.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/environment.py b/tests/environment.py
index a9098e6..c9165e0 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")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]