Update notifications-utils version.

Postal address validation now includes `< >` in the invalid characters allowed at the start of an address line.
This commit is contained in:
Rebecca Law
2021-02-08 16:08:12 +00:00
parent c2191d3a0e
commit 87cf3afdc9
4 changed files with 13 additions and 10 deletions

View File

@@ -251,7 +251,7 @@ def validate_address(service, letter_data):
)
if address.has_invalid_characters:
raise ValidationError(
message='Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / ,'
message='Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >'
)
if address.international:
return address.postage