summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-07-29 13:41:01 -0300
committerFolker Bernitt <fbernitt@thoughtworks.com>2015-08-11 17:00:29 +0200
commit2bd23a0c396eb13cd10e9fc5f599f62ec6cb795f (patch)
tree4f805cc7a83e3ba0a4fdd346527c6be27bb77819 /service
parent5c910869c81507ef94924ab08e14314727d701b0 (diff)
disable events for integration tests
Diffstat (limited to 'service')
-rw-r--r--service/test/support/integration/soledad_test_base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/service/test/support/integration/soledad_test_base.py b/service/test/support/integration/soledad_test_base.py
index 2ebd6749..8ab8ae01 100644
--- a/service/test/support/integration/soledad_test_base.py
+++ b/service/test/support/integration/soledad_test_base.py
@@ -13,9 +13,9 @@
#
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
-from twisted.internet import defer
from twisted.trial import unittest
from test.support.integration.app_test_client import AppTestClient
+from leap.common.events import set_events_enabled
class SoledadTestBase(unittest.TestCase, AppTestClient):
@@ -24,7 +24,9 @@ class SoledadTestBase(unittest.TestCase, AppTestClient):
DEFERRED_TIMEOUT_LONG = 300
def setUp(self):
+ set_events_enabled(False)
return self.start_client()
def tearDown(self):
+ set_events_enabled(True)
self.cleanup()