diff options
| author | Tim Graham <timograham@gmail.com> | 2018-11-26 14:05:02 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-11-27 08:58:44 -0500 |
| commit | 193c109327c5216cab1d4eed6bfdff24629b09a3 (patch) | |
| tree | 3428f61d610f51349df5ab6eb26a4876b54878c5 /tests/model_forms | |
| parent | f091ea35150d95fc6732bbf0c27b971dd445509a (diff) | |
Switched TestCase to SimpleTestCase where possible in Django's tests.
Diffstat (limited to 'tests/model_forms')
| -rw-r--r-- | tests/model_forms/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py index 556a41ed83..194e97a08b 100644 --- a/tests/model_forms/tests.py +++ b/tests/model_forms/tests.py @@ -2849,7 +2849,7 @@ class CustomMetaclassTestCase(SimpleTestCase): self.assertEqual(new_cls.base_fields, {}) -class StrictAssignmentTests(TestCase): +class StrictAssignmentTests(SimpleTestCase): """ Should a model do anything special with __setattr__() or descriptors which raise a ValidationError, a model form should catch the error (#24706). |
