Refs #9619 -- Fixed failing test case
Regression introduced in 9aac99e96d
This commit is contained in:
parent
9aac99e96d
commit
64a4211aa8
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue