Raw query tolerates columns being returned in any order.
(self)
| 193 | self.assertSuccessfulRawQuery(MixedCaseIDColumn, query, queryset) |
| 194 | |
| 195 | def test_order_handler(self): |
| 196 | class="st">""class="st">"Raw query tolerates columns being returned in any order."class="st">"" |
| 197 | selects = ( |
| 198 | (class="st">"dob, last_name, first_name, id"), |
| 199 | (class="st">"last_name, dob, first_name, id"), |
| 200 | (class="st">"first_name, last_name, dob, id"), |
| 201 | ) |
| 202 | |
| 203 | for select in selects: |
| 204 | query = class="st">"SELECT %s FROM raw_query_author" % select |
| 205 | authors = Author.objects.all() |
| 206 | self.assertSuccessfulRawQuery(Author, query, authors) |
| 207 | |
| 208 | def test_translations(self): |
| 209 | class="st">""" |
nothing calls this directly
no test coverage detected