Merge branch '3868-istorageserver-tests-http' into 3871-http-list-storage-index-shares

This commit is contained in:
Itamar Turner-Trauring 2022-02-01 10:36:55 -05:00
commit 35bbcad4de

View File

@ -1089,6 +1089,11 @@ class _FoolscapMixin(_SharedMixin):
class _HTTPMixin(_SharedMixin):
"""Run tests on the HTTP version of ``IStorageServer``."""
def setUp(self):
if PY2:
self.skipTest("Not going to bother supporting Python 2")
return _SharedMixin.setUp(self)
def _get_istorage_server(self):
set_treq_pool(HTTPConnectionPool(reactor, persistent=False))
swissnum = b"1234"