(cls)
| 12 | class JSONObjectTests(TestCase): |
| 13 | @classmethod |
| 14 | def setUpTestData(cls): |
| 15 | Author.objects.bulk_create( |
| 16 | [ |
| 17 | Author(name="Ivan Ivanov", alias="iivanov"), |
| 18 | Author(name="Bertha Berthy", alias="bberthy"), |
| 19 | ] |
| 20 | ) |
| 21 | |
| 22 | def test_empty(self): |
| 23 | obj = Author.objects.annotate(json_object=JSONObject()).first() |
nothing calls this directly
no test coverage detected