diff options
Diffstat (limited to 'tests/validators')
| -rw-r--r-- | tests/validators/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/validators/tests.py b/tests/validators/tests.py index 36d0b2a520..295c6c899f 100644 --- a/tests/validators/tests.py +++ b/tests/validators/tests.py @@ -3,7 +3,7 @@ import re import types from datetime import datetime, timedelta from decimal import Decimal -from unittest import TestCase +from unittest import TestCase, mock from django.core.exceptions import ValidationError from django.core.files.base import ContentFile @@ -424,6 +424,7 @@ class TestValidatorEquality(TestCase): MaxValueValidator(44), MaxValueValidator(44), ) + self.assertEqual(MaxValueValidator(44), mock.ANY) self.assertNotEqual( MaxValueValidator(44), MinValueValidator(44), |
