diff options
| author | Tim Graham <timograham@gmail.com> | 2017-03-17 07:51:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-17 07:51:48 -0400 |
| commit | 6b4f018b2b3478d2a4a441ed52d43f6268ac89f3 (patch) | |
| tree | 21a1573a6d8a1e7ee8554adc318174ffda0bf8bd /tests/forms_tests | |
| parent | e32265de1a68361ea078f49877ccb0f742508728 (diff) | |
Replaced type-specific assertions with assertEqual().
Python docs say, "it's usually not necessary to invoke these methods directly."
Diffstat (limited to 'tests/forms_tests')
| -rw-r--r-- | tests/forms_tests/tests/test_forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index 6cf781c50f..df6518b933 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py @@ -255,7 +255,7 @@ class FormsTestCase(SimpleTestCase): self.assertEqual(p.errors['first_name'], ['This field is required.']) self.assertEqual(p.errors['birthday'], ['This field is required.']) self.assertFalse(p.is_valid()) - self.assertDictEqual( + self.assertEqual( p.errors, {'birthday': ['This field is required.'], 'first_name': ['This field is required.']} ) |
