diff options
Diffstat (limited to 'tests/model_inheritance')
| -rw-r--r-- | tests/model_inheritance/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_inheritance/tests.py b/tests/model_inheritance/tests.py index 77210174a0..19d7b5650f 100644 --- a/tests/model_inheritance/tests.py +++ b/tests/model_inheritance/tests.py @@ -281,7 +281,7 @@ class ModelInheritanceTests(TestCase): .defer("italianrestaurant__serves_gnocchi") .order_by("rating")) - # Test that the field was actually defered + # Test that the field was actually deferred with self.assertNumQueries(2): objs = list(qs.all()) self.assertTrue(objs[1].italianrestaurant.serves_gnocchi) |
