From 23a342b3833457e29f01102e18bc22c9c3fb793f Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 17 Apr 2017 09:30:03 -0300 Subject: [tests] set pool to None during tests --- testing/tests/server/test_blobs_server.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testing/tests/server') diff --git a/testing/tests/server/test_blobs_server.py b/testing/tests/server/test_blobs_server.py index b86e12db..2e5af01f 100644 --- a/testing/tests/server/test_blobs_server.py +++ b/testing/tests/server/test_blobs_server.py @@ -23,6 +23,7 @@ from twisted.trial import unittest from twisted.web.server import Site from twisted.internet import reactor from twisted.internet import defer +from treq._utils import set_global_pool from leap.soledad.server import _blobs as server_blobs from leap.soledad.client._blobs import BlobManager, BlobAlreadyExistsError @@ -36,6 +37,7 @@ class BlobServerTestCase(unittest.TestCase): self.host = self.port.getHost() self.uri = 'http://%s:%s/' % (self.host.host, self.host.port) self.secret = 'A' * 96 + set_global_pool(None) def tearDown(self): self.port.stopListening() -- cgit v1.2.3