(self)
| 160 | self.assertSuccessfulRawQuery(Book, query, books) |
| 161 | |
| 162 | def test_fk_fetch_mode_peers(self): |
| 163 | query = "SELECT * FROM raw_query_book" |
| 164 | books = list(Book.objects.fetch_mode(FETCH_PEERS).raw(query)) |
| 165 | with self.assertNumQueries(1): |
| 166 | books[0].author |
| 167 | books[1].author |
| 168 | |
| 169 | def test_fk_fetch_mode_raise(self): |
| 170 | query = "SELECT * FROM raw_query_book" |
nothing calls this directly
no test coverage detected