diff --git a/tests/queries/tests.py b/tests/queries/tests.py
index f9a57b088a..528356f5da 100644
a
|
b
|
class QuerysetOrderedTests(unittest.TestCase):
|
2084 | 2084 | self.assertIs(qs.ordered, False) |
2085 | 2085 | self.assertIs(qs.order_by('num_notes').ordered, True) |
2086 | 2086 | |
| 2087 | def test_annotated_default_ordering(self): |
| 2088 | qs = Tag.objects.annotate(num_notes=Count('pk')) |
| 2089 | self.assertIs(qs.ordered, False) |
| 2090 | self.assertIs(qs.order_by('name').ordered, True) |
| 2091 | |
2087 | 2092 | |
2088 | 2093 | @skipUnlessDBFeature('allow_sliced_subqueries_with_in') |
2089 | 2094 | class SubqueryTests(TestCase): |