aboutsummaryrefslogtreecommitdiff
path: root/tests/test_app.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-07-20 17:30:42 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-07-20 17:31:14 +0200
commit4852ba0f09ececeb3f542801bedf981217ba6a4c (patch)
tree539a184b0130f9444d30e99387aa7d419010a01a /tests/test_app.py
parent1396f2ef54b71d4344e28329a4d874a73e2e8e12 (diff)
Refactor Object to be a dataclass
Diffstat (limited to 'tests/test_app.py')
-rw-r--r--tests/test_app.py2
1 files changed, 1 insertions, 1 deletions
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)