(self)
| 177 | self.assertEqual(author.name, author.bio.author.name) |
| 178 | |
| 179 | def test_survives_clone(self): |
| 180 | with self.assertNumQueries(2): |
| 181 | [ |
| 182 | list(b.first_time_authors.all()) |
| 183 | for b in Book.objects.prefetch_related("first_time_authors").exclude( |
| 184 | id=1000 |
| 185 | ) |
| 186 | ] |
| 187 | |
| 188 | def test_len(self): |
| 189 | with self.assertNumQueries(2): |
nothing calls this directly
no test coverage detected