(self)
| 312 | list(Author.objects.raw(query)) |
| 313 | |
| 314 | def test_missing_fields_fetch_mode_peers(self): |
| 315 | query = "SELECT id, first_name, dob FROM raw_query_author" |
| 316 | authors = list(Author.objects.fetch_mode(FETCH_PEERS).raw(query)) |
| 317 | with self.assertNumQueries(1): |
| 318 | authors[0].last_name |
| 319 | authors[1].last_name |
| 320 | |
| 321 | def test_missing_fields_fetch_mode_raise(self): |
| 322 | query = "SELECT id, first_name, dob FROM raw_query_author" |
nothing calls this directly
no test coverage detected