aboutsummaryrefslogtreecommitdiff
path: root/tests/test_memory_store.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-07-20 18:07:42 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-07-20 18:07:42 +0200
commitea85e3f6137e8c75e50d07c4511d294cfd9b23b6 (patch)
treebdb1a1de07e028142e442f9bdcf076c6e03800e9 /tests/test_memory_store.py
parent4852ba0f09ececeb3f542801bedf981217ba6a4c (diff)
Rename Object as APObject
Diffstat (limited to 'tests/test_memory_store.py')
-rw-r--r--tests/test_memory_store.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_memory_store.py b/tests/test_memory_store.py
index 56f6185..e6b7f1a 100644
--- a/tests/test_memory_store.py
+++ b/tests/test_memory_store.py
@@ -8,12 +8,12 @@ class TestMemoryStore(unittest.TestCase):
def setUp(self):
self.store = memory.Store()
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(oid, self.store.objects)