Bump utils to 43.5.9

Changes:
https://github.com/alphagov/notifications-utils/compare/43.5.8...43.5.9
This commit is contained in:
Chris Hill-Scott
2020-12-18 15:10:45 +00:00
parent 4e009af2f7
commit b6734d25d0
3 changed files with 4 additions and 4 deletions

View File

@@ -345,7 +345,7 @@ def test_check_is_message_too_long_fails(notify_db_session, show_prefix, char_co
def test_check_is_message_too_long_passes_for_long_email(sample_service):
email_character_count = 2000003
email_character_count = 2_000_001
t = create_template(service=sample_service, content='a' * email_character_count, template_type='email')
template = templates_dao.dao_get_template_by_id_and_service_id(template_id=t.id,
service_id=t.service_id)
@@ -357,7 +357,7 @@ def test_check_is_message_too_long_passes_for_long_email(sample_service):
expected_message = (
'Your message is too long. ' +
'Emails cannot be longer than 2000000 bytes. ' +
'Your message is 2000084 bytes.'
'Your message is 2000001 bytes.'
)
assert e.value.message == expected_message
assert e.value.fields == []