summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-09 20:22:25 -0200
committerdrebs <drebs@leap.se>2013-02-09 20:22:25 -0200
commit103e0f83efac1576c41907a37467f2afe5ca5253 (patch)
tree2043f987cd342082d819c31aeaeb09075a75b65c /tests
parentf99762eef055742d841bae965ef3b1eec2ca4631 (diff)
Soledad may be created without gpg/secret initialization.
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index 3bb66680..6135e648 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -23,9 +23,11 @@ class BaseSoledadTest(BaseLeapTest):
self._db2 = u1db.open(self.db2_file, create=True,
document_factory=LeapDocument)
# open a soledad instance
- self._soledad = Soledad(self.email, gpghome=self.gnupg_home)
+ self._soledad = Soledad(self.email, gpghome=self.gnupg_home,
+ initialize=False)
self._soledad._gpg.import_keys(PUBLIC_KEY)
self._soledad._gpg.import_keys(PRIVATE_KEY)
+ self._soledad._initialize()
def tearDown(self):
self._db1.close()