# HG changeset patch # User Thomas De Schampheleire # Date 1439667663 -7200 # Node ID 4f364ef689ababfb9842ebbc5cddbbeb0b3a442a # Parent ebfab577da164e9721a15e190e42aa49a346367e email: fix double indentation in tests diff -r ebfab577da16 -r 4f364ef689ab kallithea/tests/other/test_mail.py --- a/kallithea/tests/other/test_mail.py Sat Aug 15 21:37:13 2015 +0200 +++ b/kallithea/tests/other/test_mail.py Sat Aug 15 21:41:03 2015 +0200 @@ -31,8 +31,8 @@ html_body = 'html_body' config_mock = { - 'smtp_server': mailserver, - 'app_email_from': envelope_from, + 'smtp_server': mailserver, + 'app_email_from': envelope_from, } with mock.patch('kallithea.lib.celerylib.tasks.config', config_mock): kallithea.lib.celerylib.tasks.send_email(recipients, subject, body, html_body) @@ -54,9 +54,9 @@ html_body = 'html_body' config_mock = { - 'smtp_server': mailserver, - 'app_email_from': envelope_from, - 'email_to': email_to, + 'smtp_server': mailserver, + 'app_email_from': envelope_from, + 'email_to': email_to, } with mock.patch('kallithea.lib.celerylib.tasks.config', config_mock): kallithea.lib.celerylib.tasks.send_email(recipients, subject, body, html_body) @@ -77,8 +77,8 @@ html_body = 'html_body' config_mock = { - 'smtp_server': mailserver, - 'app_email_from': envelope_from, + 'smtp_server': mailserver, + 'app_email_from': envelope_from, } with mock.patch('kallithea.lib.celerylib.tasks.config', config_mock): kallithea.lib.celerylib.tasks.send_email(recipients, subject, body, html_body)