tests: fix test folowing change in validation error message (#25403)
This commit is contained in:
parent
5841264c29
commit
9705aef9a6
|
@ -206,7 +206,7 @@ class ValidatorsTest(TestCase):
|
|||
from authentic2.validators import validate_password
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
with self.assertRaisesRegexp(ValidationError, 'pasbon'):
|
||||
with self.assertRaisesRegexp(ValidationError):
|
||||
validate_password('aaa')
|
||||
validate_password('12345678')
|
||||
|
||||
|
|
Loading…
Reference in New Issue