diff options
Diffstat (limited to 'testing/tests/server')
-rw-r--r-- | testing/tests/server/test__resource.py | 2 | ||||
-rw-r--r-- | testing/tests/server/test_blobs_resource_validation.py | 2 | ||||
-rw-r--r-- | testing/tests/server/test_blobs_server.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/server/test__resource.py b/testing/tests/server/test__resource.py index be02b5a1..1c0510b9 100644 --- a/testing/tests/server/test__resource.py +++ b/testing/tests/server/test__resource.py @@ -43,7 +43,7 @@ class SoledadResourceTestCase(unittest.TestCase): self.assertIsInstance(child, ServerInfo) def test_get_blobs_enabled(self): - blobs_resource = BlobsResource('/tmp') + blobs_resource = BlobsResource("filesystem", '/tmp') resource = SoledadResource( blobs_resource=blobs_resource, sync_pool=_pool) request = DummyRequest(['blobs']) diff --git a/testing/tests/server/test_blobs_resource_validation.py b/testing/tests/server/test_blobs_resource_validation.py index 9fbb1b2e..9f6dfc2f 100644 --- a/testing/tests/server/test_blobs_resource_validation.py +++ b/testing/tests/server/test_blobs_resource_validation.py @@ -27,7 +27,7 @@ class BlobServerTestCase(unittest.TestCase): @pytest.mark.usefixtures("method_tmpdir") def setUp(self): - self.resource = server_blobs.BlobsResource(self.tempdir) + self.resource = server_blobs.BlobsResource("filesystem", self.tempdir) @pytest.mark.usefixtures("method_tmpdir") def test_valid_arguments(self): diff --git a/testing/tests/server/test_blobs_server.py b/testing/tests/server/test_blobs_server.py index 092a0524..36bd3f0a 100644 --- a/testing/tests/server/test_blobs_server.py +++ b/testing/tests/server/test_blobs_server.py @@ -33,7 +33,7 @@ from leap.soledad.client._db.blobs import BlobAlreadyExistsError class BlobServerTestCase(unittest.TestCase): def setUp(self): - root = server_blobs.BlobsResource(self.tempdir) + root = server_blobs.BlobsResource("filesystem", self.tempdir) site = Site(root) self.port = reactor.listenTCP(0, site, interface='127.0.0.1') self.host = self.port.getHost() |