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_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_app.py') diff --git a/tests/test_app.py b/tests/test_app.py index f78149b..1f9116b 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -15,7 +15,7 @@ class TestApp(AsyncHTTPTestCase): def test_object_view(self): oid = self.get_url('/object/12345') - obj = objects.Object(id=oid) + obj = objects.Object(ap_id=oid) self.app.store.add(obj) res = self.fetch('/object/12345') self.assertEqual(res.code, 200) -- cgit v1.2.3