mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
fix tests
This commit is contained in:
@@ -117,6 +117,7 @@ def test_should_send_personalised_template_to_correct_email_provider_and_persist
|
|||||||
sample_email_template_with_html, mocker
|
sample_email_template_with_html, mocker
|
||||||
):
|
):
|
||||||
|
|
||||||
|
mock_redis = mocker.patch("app.delivery.send_to_providers.redis_store")
|
||||||
utf8_encoded_email = "jo.smith@example.com".encode("utf-8")
|
utf8_encoded_email = "jo.smith@example.com".encode("utf-8")
|
||||||
mock_redis.get.return_value = utf8_encoded_email
|
mock_redis.get.return_value = utf8_encoded_email
|
||||||
email = utf8_encoded_email
|
email = utf8_encoded_email
|
||||||
|
|||||||
Reference in New Issue
Block a user