Skip to content

Commit

Permalink
bump utils 52.0.8 (#1975)
Browse files Browse the repository at this point in the history
* bump utils 52.0.8

* update lock file

* Fix test since we're no longer downgrading non-GSM french chars
  • Loading branch information
whabanks authored Sep 11, 2023
1 parent 109e952 commit 8caba67
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions tests/app/delivery/test_send_to_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}))
Expand Down

0 comments on commit 8caba67

Please sign in to comment.