diff options
author | drebs <drebs@leap.se> | 2013-02-09 20:22:25 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-02-09 20:22:25 -0200 |
commit | a4a46d4a9cfc22324cb8a2037a5c4825f14b4b1b (patch) | |
tree | b0167cd8e5afe0ac0c0c98ce627db72eb0e605ab /src/leap/soledad/tests | |
parent | a0f36427f9473c7f2d759b9d0605b72d2c401731 (diff) |
Soledad may be created without gpg/secret initialization.
Diffstat (limited to 'src/leap/soledad/tests')
-rw-r--r-- | src/leap/soledad/tests/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/soledad/tests/__init__.py b/src/leap/soledad/tests/__init__.py index 3bb66680..6135e648 100644 --- a/src/leap/soledad/tests/__init__.py +++ b/src/leap/soledad/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() |