(self)
| 24 | self.assertEqual(obj.json_object, {}) |
| 25 | |
| 26 | def test_basic(self): |
| 27 | obj = Author.objects.annotate(json_object=JSONObject(name="name")).first() |
| 28 | self.assertEqual(obj.json_object, {"name": "Ivan Ivanov"}) |
| 29 | |
| 30 | def test_expressions(self): |
| 31 | obj = Author.objects.annotate( |
nothing calls this directly
no test coverage detected