changeset 5454:4f364ef689ab

email: fix double indentation in tests
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Sat, 15 Aug 2015 21:41:03 +0200
parents ebfab577da16
children c935bcaf7086
files kallithea/tests/other/test_mail.py
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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)