aboutsummaryrefslogtreecommitdiff
path: root/tests/test_sqlite_store.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sqlite_store.py')
-rw-r--r--tests/test_sqlite_store.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_sqlite_store.py b/tests/test_sqlite_store.py
index 70a4b17..7de7658 100644
--- a/tests/test_sqlite_store.py
+++ b/tests/test_sqlite_store.py
@@ -9,12 +9,12 @@ class TestSqliteStore(unittest.TestCase):
self.store = sqlite.Store(file=':memory:')
self.store.createdb()
self.oid = 'https://test/object/12345'
- self.obj = objects.Object(ap_id=self.oid)
+ self.obj = objects.APObject(ap_id=self.oid)
self.store.add(self.obj)
def test_add_object(self):
oid = 'https://test/object/12345'
- obj = objects.Object(ap_id=oid)
+ obj = objects.APObject(ap_id=oid)
self.store.add(obj)
# self.assertIn('object', self.store.objects)
# self.assertIn(oid, self.store.objects['object'])