From 615c439ad45eee9eb709200e3727d1d6eacaecfe Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 14 Apr 2019 17:46:11 +0200 Subject: Start working on storage backends --- tests/test_objects.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_objects.py') diff --git a/tests/test_objects.py b/tests/test_objects.py index 68bc900..4358e41 100644 --- a/tests/test_objects.py +++ b/tests/test_objects.py @@ -6,14 +6,14 @@ from pyapd import objects class TestObjects(unittest.TestCase): def test_activity_from_json(self): - act = objects.ActivityObject.from_jsons('''{ + act = objects.Object.from_jsons('''{ "id": "http://example.org/123456" }''') - self.assertIsInstance(act, objects.ActivityObject) + self.assertIsInstance(act, objects.Object) self.assertEqual(act.ap_id, 'http://example.org/123456') def test_activity_to_json(self): - act = objects.ActivityObject( + act = objects.Object( id="http://example.org/123456" ) data = act.to_jsons() -- cgit v1.2.3