aboutsummaryrefslogtreecommitdiff
path: root/tests/test_objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_objects.py')
-rw-r--r--tests/test_objects.py6
1 files changed, 3 insertions, 3 deletions
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()