summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-19 13:56:49 -0300
committerdrebs <drebs@leap.se>2013-02-19 13:56:49 -0300
commitf6eabdb48715aa00cf9a4e2bd0409f6e0571caee (patch)
tree3260453c14a2416cb0a85f1f45b05cc1366fa5cd /tests
parent5a87a01954d67010a073a449cc6d24cae5e9c4d1 (diff)
Fix soledad temp dir in tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index 4bdf814c..d8927e36 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -31,7 +31,8 @@ class BaseSoledadTest(BaseLeapTest):
document_factory=LeapDocument)
# open a soledad instance
self._soledad = Soledad(self.email, gnupghome=self.gnupg_home,
- initialize=False)
+ initialize=False,
+ prefix=self.tempdir)
self._soledad._gpg.import_keys(PUBLIC_KEY)
self._soledad._gpg.import_keys(PRIVATE_KEY)
self._soledad._init_crypto()