(self)
| 659 | ) |
| 660 | |
| 661 | def test_order_by_expression_ref(self): |
| 662 | self.assertQuerySetEqual( |
| 663 | Author.objects.annotate(upper_name=Upper("name")).order_by( |
| 664 | Length("upper_name") |
| 665 | ), |
| 666 | Author.objects.order_by(Length(Upper("name"))), |
| 667 | ) |
| 668 | |
| 669 | def test_ordering_select_related_collision(self): |
| 670 | self.assertEqual( |
nothing calls this directly
no test coverage detected