(self)
| 20 | ) |
| 21 | |
| 22 | def test_empty(self): |
| 23 | obj = Author.objects.annotate(json_object=JSONObject()).first() |
| 24 | self.assertEqual(obj.json_object, {}) |
| 25 | |
| 26 | def test_basic(self): |
| 27 | obj = Author.objects.annotate(json_object=JSONObject(name="name")).first() |
nothing calls this directly
no test coverage detected