From 64a4211aa85795cb21a73bc93f9e43bafa1541f6 Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Wed, 17 Jun 2015 20:07:00 +0200 Subject: [PATCH] Refs #9619 -- Fixed failing test case Regression introduced in 9aac99e96d100b34b6daa3a137531eff4f17076e --- tests/from_db_value/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/from_db_value/tests.py b/tests/from_db_value/tests.py index 2f43bb9065..c6cc07ed3c 100644 --- a/tests/from_db_value/tests.py +++ b/tests/from_db_value/tests.py @@ -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']