From 4852ba0f09ececeb3f542801bedf981217ba6a4c Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sat, 20 Jul 2019 17:30:42 +0200 Subject: Refactor Object to be a dataclass --- tests/test_objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_objects.py') diff --git a/tests/test_objects.py b/tests/test_objects.py index 63228f5..4f27424 100644 --- a/tests/test_objects.py +++ b/tests/test_objects.py @@ -16,8 +16,8 @@ class TestObjects(unittest.TestCase): def test_activity_to_json(self): act = objects.Object( - id="http://example.org/123456", - type="object", + ap_id="http://example.org/123456", + ap_type="object", ) data = act.to_jsons() self.assertIsInstance(data, str) -- cgit v1.2.3