summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-03-01 15:06:43 -0300
committerTulio Casagrande <tcasagra@thoughtworks.com>2017-03-01 15:06:43 -0300
commitb67abc5e64206672840320a5e2c89fda5d484c78 (patch)
tree4a05e1418a3d68d744ff775247177704500b31d4 /service/test
parentd47933f85158a43d860b49ab32de92923e78c95c (diff)
Fix soledad shared_db argument when testing
Diffstat (limited to 'service/test')
-rw-r--r--service/test/support/integration/app_test_client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/test/support/integration/app_test_client.py b/service/test/support/integration/app_test_client.py
index 0ff1df31..538cf633 100644
--- a/service/test/support/integration/app_test_client.py
+++ b/service/test/support/integration/app_test_client.py
@@ -429,15 +429,15 @@ def initialize_soledad(tempdir, uuid):
def __call__(self):
return self
- Soledad._shared_db = MockSharedDB()
-
_soledad = Soledad(
uuid,
passphrase,
secret_path,
local_db_path,
server_url,
- cert_file)
+ cert_file,
+ shared_db=MockSharedDB()
+ )
yield SoledadMailAdaptor().initialize_store(_soledad)