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/validation/test_validators.py | |
| parent | f091ea35150d95fc6732bbf0c27b971dd445509a (diff) | |
Switched TestCase to SimpleTestCase where possible in Django's tests.
Diffstat (limited to 'tests/validation/test_validators.py')
| -rw-r--r-- | tests/validation/test_validators.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/validation/test_validators.py b/tests/validation/test_validators.py index 733ff5c139..9817b6594b 100644 --- a/tests/validation/test_validators.py +++ b/tests/validation/test_validators.py @@ -1,8 +1,10 @@ -from . import ValidationTestCase +from django.test import SimpleTestCase + +from . import ValidationAssertions from .models import ModelToValidate -class TestModelsWithValidators(ValidationTestCase): +class TestModelsWithValidators(ValidationAssertions, SimpleTestCase): def test_custom_validator_passes_for_correct_value(self): mtv = ModelToValidate(number=10, name='Some Name', f_with_custom_validator=42, f_with_iterable_of_validators=42) |
