Ticket #30572: 30572.diff

File 30572.diff, 695 bytes (added by Mariusz Felisiak, 5 years ago)
  • tests/queries/test_qs_combinators.py

    diff --git a/tests/queries/test_qs_combinators.py b/tests/queries/test_qs_combinators.py
    index 3902db59e2..8d6bee66b9 100644
    a b class QuerySetSetOperationTests(TestCase):  
    123123        self.assertEqual(reserved_name['order'], 2)
    124124        reserved_name = qs1.union(qs1).values_list('name', 'order', 'id').get()
    125125        self.assertEqual(reserved_name[:2], ('a', 2))
     126        reserved_name = qs1.union(qs1).values_list('order').get()
     127        self.assertEqual(reserved_name[:2], (2,))
    126128
    127129    def test_union_with_two_annotated_values_list(self):
    128130        qs1 = Number.objects.filter(num=1).annotate(
Back to Top