From 0b4d9fd9e52788f7087d25b71acebb90e90ffc2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 26 Jun 2017 18:39:26 +0200 Subject: [PATCH] tests: include 8bits characters in hobo_notify tests --- tests/test_hobo_notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_hobo_notify.py b/tests/test_hobo_notify.py index d18002c25..e5b7e4afb 100644 --- a/tests/test_hobo_notify.py +++ b/tests/test_hobo_notify.py @@ -470,7 +470,7 @@ def test_process_notification_user_provision(pub): { u'uuid': u'a' * 32, u'first_name': u'John', - u'last_name': u'Doe', + u'last_name': u'Doé', u'email': u'john.doe@example.net', u'zipcode': u'13400', u'is_superuser': False, @@ -497,7 +497,7 @@ def test_process_notification_user_provision(pub): assert user.form_data['_email'] == 'john.doe@example.net' assert user.email == 'john.doe@example.net' assert user.form_data['_first_name'] == 'John' - assert user.form_data['_last_name'] == u'Doe'.encode('utf-8') + assert user.form_data['_last_name'] == u'Doé'.encode('utf-8') assert user.form_data['_zipcode'] == '13400' assert user.name_identifiers == ['a'*32] assert user.is_admin is False