1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #9619 -- Fixed failing test case

Regression introduced in 9aac99e96d
This commit is contained in:
Markus Holtermann 2015-06-17 20:07:00 +02:00
parent 9aac99e96d
commit 64a4211aa8

View File

@ -19,7 +19,7 @@ class FromDBValueTest(TestCase):
def test_values(self):
values = CashModel.objects.values('cash')
self.assertIsInstance(values_list[0]['cash'], Cash)
self.assertIsInstance(values[0]['cash'], Cash)
def test_aggregation(self):
maximum = CashModel.objects.aggregate(m=Max('cash'))['m']