diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2019-07-20 17:30:42 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2019-07-20 17:31:14 +0200 |
commit | 4852ba0f09ececeb3f542801bedf981217ba6a4c (patch) | |
tree | 539a184b0130f9444d30e99387aa7d419010a01a /tests/test_objects.py | |
parent | 1396f2ef54b71d4344e28329a4d874a73e2e8e12 (diff) |
Refactor Object to be a dataclass
Diffstat (limited to 'tests/test_objects.py')
-rw-r--r-- | tests/test_objects.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |