diff options
author | NavaL <ayoyo@thoughtworks.com> | 2016-07-24 23:15:01 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-08-01 10:35:04 +0200 |
commit | ee978045e6420377c908c4d4b4400dd3c18a2909 (patch) | |
tree | 67e982838936881540737247d1ec1df28fec0e44 /src/leap/mail/imap | |
parent | 3e5d3caa4f213055ebb6c21036fc81ea6df248c3 (diff) |
[refactor] deprecating u1db, using l2db instead.
To keep compatibility with soledad upgrades. It will namely cause version conflicts
to not be properly handled otherwise.
Diffstat (limited to 'src/leap/mail/imap')
-rw-r--r-- | src/leap/mail/imap/tests/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/mail/imap/tests/__init__.py b/src/leap/mail/imap/tests/__init__.py index 5cf60ed..5aa7364 100644 --- a/src/leap/mail/imap/tests/__init__.py +++ b/src/leap/mail/imap/tests/__init__.py @@ -11,7 +11,7 @@ code, using twisted.trial, for testing leap_mx. """ import os -import u1db +from leap.soledad.common import l2db from leap.common.testing.basetest import BaseLeapTest @@ -44,9 +44,9 @@ class BaseSoledadIMAPTest(BaseLeapTest): self.db2_file = os.path.join( self.tempdir, "db2.u1db") - self._db1 = u1db.open(self.db1_file, create=True, + self._db1 = l2db.open(self.db1_file, create=True, document_factory=SoledadDocument) - self._db2 = u1db.open(self.db2_file, create=True, + self._db2 = l2db.open(self.db2_file, create=True, document_factory=SoledadDocument) # soledad config info |