summaryrefslogtreecommitdiff
path: root/src/leap/soledad/tests/u1db_tests
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-02-12 16:41:26 -0200
committerdrebs <drebs@leap.se>2013-02-12 16:41:26 -0200
commitd8bb7d00c79c4e843ca15778c06991275c0181cb (patch)
treee55b9c539b0da8e2b7c2a4708fd1cb3c4324a994 /src/leap/soledad/tests/u1db_tests
parent86b8f78e7d4ac3e3e47535604713c497a8b68936 (diff)
Adapt code and tests to use pysqlcipher.
Diffstat (limited to 'src/leap/soledad/tests/u1db_tests')
-rw-r--r--src/leap/soledad/tests/u1db_tests/__init__.py2
-rw-r--r--src/leap/soledad/tests/u1db_tests/test_sqlite_backend.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/tests/u1db_tests/__init__.py b/src/leap/soledad/tests/u1db_tests/__init__.py
index 27aa4d79..43304b43 100644
--- a/src/leap/soledad/tests/u1db_tests/__init__.py
+++ b/src/leap/soledad/tests/u1db_tests/__init__.py
@@ -30,7 +30,7 @@ except ImportError:
from wsgiref import simple_server
from oauth import oauth
-from sqlite3 import dbapi2
+from pysqlcipher import dbapi2
from StringIO import StringIO
import testscenarios
diff --git a/src/leap/soledad/tests/u1db_tests/test_sqlite_backend.py b/src/leap/soledad/tests/u1db_tests/test_sqlite_backend.py
index 2003da03..1380e4b1 100644
--- a/src/leap/soledad/tests/u1db_tests/test_sqlite_backend.py
+++ b/src/leap/soledad/tests/u1db_tests/test_sqlite_backend.py
@@ -20,7 +20,7 @@ import os
import time
import threading
-from sqlite3 import dbapi2
+from pysqlcipher import dbapi2
from u1db import (
errors,