From f9c7732e964980bdb8bf805869ce8d2494007ea0 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 22 Aug 2014 15:57:15 -0400 Subject: [PATCH] Tweaked docstrings from previous commit. --- tests/forms_tests/tests/test_forms.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index a0c858a5ed0..914bf1810dc 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py @@ -2341,7 +2341,8 @@ class FormsTestCase(TestCase): def test_baseform_repr(self): """ - Test for baseForm method __repr__ + BaseForm.__repr__() should contain some basic information about the + form. """ p = Person() self.assertEqual(repr(p), "") @@ -2355,7 +2356,7 @@ class FormsTestCase(TestCase): def test_baseform_repr_dont_trigger_validation(self): """ - Test to verify that __repr__ method don't trigger the validation + BaseForm.__repr__() shouldn't trigger the form validation. """ p = Person({'first_name': 'John', 'last_name': 'Lennon', 'birthday': 'fakedate'}) repr(p)