summaryrefslogtreecommitdiff
path: root/testing/tests/server/test_auth.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-02-02 11:45:57 -0200
committerKali Kaneko <kali@leap.se>2017-02-09 17:41:55 +0100
commita2f041de7f1ea653f078ac9cd532e2d2b774248f (patch)
treeb32aefb6fd5cbfce0c6f4c03f1a26d9cf7f9f8e9 /testing/tests/server/test_auth.py
parent53b5a6788ad8416f78b24cc9880d02da73c52d70 (diff)
[refactor] parametrize blobs toggling in soledad server resource
Diffstat (limited to 'testing/tests/server/test_auth.py')
-rw-r--r--testing/tests/server/test_auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/server/test_auth.py b/testing/tests/server/test_auth.py
index f7fe0f25..00d416d5 100644
--- a/testing/tests/server/test_auth.py
+++ b/testing/tests/server/test_auth.py
@@ -39,8 +39,9 @@ class SoledadRealmTestCase(unittest.TestCase):
def test_returned_resource(self):
# we have to pass a pool to the realm , otherwise tests will hang
+ conf = {'soledad-server': {'blobs': False}}
pool = reactor.getThreadPool()
- realm = SoledadRealm(sync_pool=pool)
+ realm = SoledadRealm(conf=conf, sync_pool=pool)
iface, avatar, logout = realm.requestAvatar('any', None, IResource)
self.assertIsInstance(avatar, SoledadResource)
self.assertIsNone(logout())