summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_couch.py4
-rw-r--r--tests/test_encrypted.py4
-rw-r--r--tests/test_logs.py3
-rw-r--r--tests/test_sqlcipher.py6
4 files changed, 8 insertions, 9 deletions
diff --git a/tests/test_couch.py b/tests/test_couch.py
index 4468ae04..b5bf4e9b 100644
--- a/tests/test_couch.py
+++ b/tests/test_couch.py
@@ -1,6 +1,6 @@
import unittest2
-from soledad.backends.couch import CouchDatabase
-from soledad.backends.leap import LeapDocument
+from leap.soledad.backends.couch import CouchDatabase
+from leap.soledad.backends.leap_backend import LeapDocument
from u1db import errors, vectorclock
try:
diff --git a/tests/test_encrypted.py b/tests/test_encrypted.py
index eafd258e..4ee03a3c 100644
--- a/tests/test_encrypted.py
+++ b/tests/test_encrypted.py
@@ -7,8 +7,8 @@ import unittest2 as unittest
import os
import u1db
-from soledad import Soledad
-from soledad.backends.leap import LeapDocument
+from leap.soledad import Soledad
+from leap.soledad.backends.leap_backend import LeapDocument
class EncryptedSyncTestCase(unittest.TestCase):
diff --git a/tests/test_logs.py b/tests/test_logs.py
index d61700f2..072ac1a5 100644
--- a/tests/test_logs.py
+++ b/tests/test_logs.py
@@ -1,10 +1,9 @@
import unittest2 as unittest
-from soledad.util import TransactionLog, SyncLog
+from leap.soledad.util import TransactionLog, SyncLog
class LogTestCase(unittest.TestCase):
-
def test_transaction_log(self):
data = [
(2, "doc_3", "tran_3"),
diff --git a/tests/test_sqlcipher.py b/tests/test_sqlcipher.py
index f9e9f681..3bb495ec 100644
--- a/tests/test_sqlcipher.py
+++ b/tests/test_sqlcipher.py
@@ -27,9 +27,9 @@ from u1db import (
errors,
query_parser,
)
-from soledad.backends import sqlcipher
-from soledad.backends.leap import LeapDocument
-from soledad import tests
+from leap.soledad.backends import sqlcipher
+from leap.soledad.backends.leap_backend import LeapDocument
+from leap.soledad import tests
simple_doc = '{"key": "value"}'