From edecbb551bf8e8d0915c6c563ce9f880c59f8d95 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 10 May 2014 16:41:54 +0200 Subject: [PATCH] Minor cleanup in select_related_regress tests. --- tests/select_related_regress/tests.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/select_related_regress/tests.py b/tests/select_related_regress/tests.py index 6b064ca582..4a498d707a 100644 --- a/tests/select_related_regress/tests.py +++ b/tests/select_related_regress/tests.py @@ -163,17 +163,13 @@ class SelectRelatedRegressTests(TestCase): self.assertTrue('LEFT OUTER' in str(qs.query)) def test_regression_19870(self): - """ - Regression for #19870 - - """ hen = Hen.objects.create(name='Hen') Chick.objects.create(name='Chick', mother=hen) self.assertEqual(Chick.objects.all()[0].mother.name, 'Hen') self.assertEqual(Chick.objects.select_related()[0].mother.name, 'Hen') - def test_ticket_10733(self): + def test_regression_10733(self): a = A.objects.create(name='a', lots_of_text='lots_of_text_a', a_field='a_field') b = B.objects.create(name='b', lots_of_text='lots_of_text_b', b_field='b_field') c = C.objects.create(name='c', lots_of_text='lots_of_text_c', is_published=True,