summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-04-17 09:30:03 -0300
committerdrebs <drebs@leap.se>2017-04-19 11:37:07 +0200
commit23a342b3833457e29f01102e18bc22c9c3fb793f (patch)
tree179c1fd2e81812f56c9577d3fb18938eb04963b1 /testing
parentdc58e830860633501be431903a7dc87d44752527 (diff)
[tests] set pool to None during tests
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/server/test_blobs_server.py2
1 files changed, 2 insertions, 0 deletions
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()