Update utils to version 43.8.

Invalid characters for the first line of a postal address now include < >
This commit is contained in:
Rebecca Law
2021-02-09 14:07:01 +00:00
parent 6972b4b6b0
commit f0ce2c6f5b
8 changed files with 20 additions and 19 deletions

View File

@@ -688,7 +688,7 @@ def test_upload_csv_file_with_bad_postal_address_shows_check_page_with_errors(
'6 Address must be no more than 7 lines long',
'1 2 3 4 5 6 7 8',
'7 Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / ,',
'7 Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >',
'=Firstname Lastname 123 Example St. SW1A 1AA',
]
@@ -2324,7 +2324,7 @@ def test_send_one_off_letter_address_populates_address_fields_in_session(
(
'a\n(b\nSW1A 1AA',
[],
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / ,',
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >',
),
])
def test_send_one_off_letter_address_rejects_bad_addresses(

View File

@@ -562,11 +562,11 @@ def test_get_letter_validation_error_for_unknown_error():
None,
'Theres a problem with the address for this letter',
(
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / ,'
'Address lines must not start with any of the following characters: @ ( ) = [ ] ” \\ / , < >'
),
(
'Validation failed because address lines must not start with any of the following '
'characters: @ ( ) = [ ] ” \\ / ,'
'characters: @ ( ) = [ ] ” \\ / , < >'
),
),
])