From ca55758b3c8d2fe35ea72a1190a98093c0321a17 Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Sun, 6 Sep 2015 11:26:37 +0200
Subject: [PATCH] Disable pynotify2 in test envs

---
 .travis.yml                                                    | 2 --
 src/cutecoin/tests/process_cfg_community/test_add_community.py | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 73254422..c2bba190 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -57,8 +57,6 @@ install:
   - pip install base58
   - pip install quamash
   - pip install asyncio
-  - pip install python-dbus
-  - pip install notify2
   - pip install git+https://github.com/Insoleet/pretenders.git@develop
   - python gen_resources.py
   - python gen_translations.py
diff --git a/src/cutecoin/tests/process_cfg_community/test_add_community.py b/src/cutecoin/tests/process_cfg_community/test_add_community.py
index 2fe1b1c4..2a716636 100644
--- a/src/cutecoin/tests/process_cfg_community/test_add_community.py
+++ b/src/cutecoin/tests/process_cfg_community/test_add_community.py
@@ -26,6 +26,7 @@ class ProcessAddCommunity(unittest.TestCase):
         self.identities_registry = IdentitiesRegistry()
 
         self.application = Application(self.qapplication, self.lp, self.network_manager, self.identities_registry)
+        self.application.preferences['notifications'] = False
         # Salt/password : "testcutecoin/testcutecoin"
         # Pubkey : 7Aqw6Efa9EzE7gtsc8SveLLrM7gm6NEGoywSv4FJx6pZ
         self.account = Account("testcutecoin", "7Aqw6Efa9EzE7gtsc8SveLLrM7gm6NEGoywSv4FJx6pZ",
-- 
GitLab