aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_sqlite_store.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_sqlite_store.py b/tests/test_sqlite_store.py
index 26ff45c..7c282b7 100644
--- a/tests/test_sqlite_store.py
+++ b/tests/test_sqlite_store.py
@@ -6,7 +6,8 @@ from pyapd.stores import sqlite, exceptions
class TestSqliteStore(unittest.TestCase):
def setUp(self):
- self.store = sqlite.Store()
+ self.store = sqlite.Store(file=':memory:')
+ self.store.createdb()
self.oid = 'https://test/object/12345'
self.obj = objects.Object(id=self.oid)
self.store.add(self.obj)