Kaydet (Commit) 64a4211a authored tarafından Markus Holtermann's avatar Markus Holtermann

Refs #9619 -- Fixed failing test case

Regression introduced in 9aac99e9
üst 9aac99e9
...@@ -19,7 +19,7 @@ class FromDBValueTest(TestCase): ...@@ -19,7 +19,7 @@ class FromDBValueTest(TestCase):
def test_values(self): def test_values(self):
values = CashModel.objects.values('cash') values = CashModel.objects.values('cash')
self.assertIsInstance(values_list[0]['cash'], Cash) self.assertIsInstance(values[0]['cash'], Cash)
def test_aggregation(self): def test_aggregation(self):
maximum = CashModel.objects.aggregate(m=Max('cash'))['m'] maximum = CashModel.objects.aggregate(m=Max('cash'))['m']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment