From ee978045e6420377c908c4d4b4400dd3c18a2909 Mon Sep 17 00:00:00 2001 From: NavaL Date: Sun, 24 Jul 2016 23:15:01 +0200 Subject: [refactor] deprecating u1db, using l2db instead. To keep compatibility with soledad upgrades. It will namely cause version conflicts to not be properly handled otherwise. --- src/leap/mail/imap/tests/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/leap/mail/imap') 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 -- cgit v1.2.3