summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-08-22 15:57:15 -0400
committerTim Graham <timograham@gmail.com>2014-08-22 15:57:15 -0400
commitf9c7732e964980bdb8bf805869ce8d2494007ea0 (patch)
tree68237689736e2a163f5acc803e5c704c7737c042
parenta6691e5dcfdfd1529987be3bdcf06e7ab9948356 (diff)
Tweaked docstrings from previous commit.
-rw-r--r--tests/forms_tests/tests/test_forms.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py
index a0c858a5ed..914bf1810d 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), "<Person bound=False, valid=Unknown, fields=(first_name;last_name;birthday)>")
@@ -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)