fix tests

This commit is contained in:
Kenneth Kehl
2024-08-20 08:35:16 -07:00
parent d754b15173
commit e0404977c0

View File

@@ -117,6 +117,7 @@ def test_should_send_personalised_template_to_correct_email_provider_and_persist
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")
mock_redis.get.return_value = utf8_encoded_email
email = utf8_encoded_email