summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/validators/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/validators/tests.py b/tests/validators/tests.py
index cae64045bd..5376517a4a 100644
--- a/tests/validators/tests.py
+++ b/tests/validators/tests.py
@@ -750,6 +750,10 @@ class TestValidatorEquality(TestCase):
EmailValidator(message="BAD EMAIL", code="bad"),
EmailValidator(message="BAD EMAIL", code="bad"),
)
+ self.assertEqual(
+ EmailValidator(allowlist=["127.0.0.1", "localhost"]),
+ EmailValidator(allowlist=["localhost", "127.0.0.1"]),
+ )
def test_basic_equality(self):
self.assertEqual(