From 8caba67c2c9ba58d33738dbf05854e989e92ba8d Mon Sep 17 00:00:00 2001 From: William B <7444334+whabanks@users.noreply.github.com> Date: Mon, 11 Sep 2023 15:27:15 -0400 Subject: [PATCH] bump utils 52.0.8 (#1975) * bump utils 52.0.8 * update lock file * Fix test since we're no longer downgrading non-GSM french chars --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- tests/app/delivery/test_send_to_providers.py | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index 783d53b55c..f7043469eb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2507,7 +2507,7 @@ requests = ">=2.0.0" [[package]] name = "notifications-utils" -version = "52.0.7" +version = "52.0.8" description = "Shared python code for Notification - Provides logging utils etc." category = "main" optional = false @@ -2541,8 +2541,8 @@ werkzeug = "2.3.7" [package.source] type = "git" url = "https://github.com/cds-snc/notifier-utils.git" -reference = "52.0.7" -resolved_reference = "db380727c2fb55627f68a8f41b0493642131fc90" +reference = "52.0.8" +resolved_reference = "2fd0d33705dd40d728f05ccdcf14a5431b1b9c9c" [[package]] name = "ordered-set" @@ -4185,4 +4185,4 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] [metadata] lock-version = "2.0" python-versions = "~3.10.9" -content-hash = "a5240e0b02151be09c0d2d7722a2300ca08856b94aa3fbcca86282262715f65f" +content-hash = "3afb3b0abff680c602f3aac07e403eec77e63dbe8644ecb058656be7c2a72bfe" diff --git a/pyproject.toml b/pyproject.toml index 14bdb0d853..b84ee72ab4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,7 @@ Werkzeug = "2.3.7" MarkupSafe = "2.1.3" # REVIEW: v2 is using sha512 instead of sha1 by default (in v1) itsdangerous = "2.1.2" -notifications-utils = { git = "https://github.com/cds-snc/notifier-utils.git", rev = "52.0.7" } +notifications-utils = { git = "https://github.com/cds-snc/notifier-utils.git", rev = "52.0.8" } # rsa = "4.9 # awscli 1.22.38 depends on rsa<4.8 typing-extensions = "4.7.1" greenlet = "2.0.2" diff --git a/tests/app/delivery/test_send_to_providers.py b/tests/app/delivery/test_send_to_providers.py index 484042678b..7d0d992219 100644 --- a/tests/app/delivery/test_send_to_providers.py +++ b/tests/app/delivery/test_send_to_providers.py @@ -403,10 +403,10 @@ def test_should_not_send_to_provider_when_status_is_not_created(sample_template, def test_should_send_sms_with_downgraded_content(notify_db_session, mocker): # é, o, and u are in GSM. - # á, ï, grapes, tabs, zero width space and ellipsis are not - msg = "á é ï o u 🍇 foo\tbar\u200bbaz((misc))…" + # grapes, tabs, zero width space and ellipsis are not + msg = "é o u 🍇 foo\tbar\u200bbaz((misc))…" placeholder = "∆∆∆abc" - gsm_message = "?odz Housing Service: a é i o u ? foo barbaz???abc..." + gsm_message = "?odz Housing Service: é o u ? foo barbaz???abc..." service = create_service(service_name="Łódź Housing Service") template = create_template(service, content=msg) db_notification = save_notification(create_notification(template=template, personalisation={"misc": placeholder}))