(self)
| 432 | list(books) |
| 433 | |
| 434 | def test_iterator(self): |
| 435 | with self.assertNumQueries(2): |
| 436 | books = Book.objects.raw("SELECT * FROM raw_query_book") |
| 437 | list(books.iterator()) |
| 438 | list(books.iterator()) |
| 439 | |
| 440 | def test_bool(self): |
| 441 | self.assertIs(bool(Book.objects.raw("SELECT * FROM raw_query_book")), True) |
nothing calls this directly
no test coverage detected