[PATCH 2 of 6] email: fix double indentation in tests
Thomas De Schampheleire
patrickdepinguin at gmail.com
Tue Sep 1 16:28:34 UTC 2015
# HG changeset patch
# User Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
# Date 1439667663 -7200
# Sat Aug 15 21:41:03 2015 +0200
# Node ID 7117b34f08f32a9955c22845882364d1a55b841b
# Parent 566907ceeb27ce5e89a971c88c7a2527c0110f7a
email: fix double indentation in tests
diff --git a/kallithea/tests/other/test_mail.py b/kallithea/tests/other/test_mail.py
--- a/kallithea/tests/other/test_mail.py
+++ b/kallithea/tests/other/test_mail.py
@@ -31,8 +31,8 @@ class TestMail(BaseTestCase):
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 @@ class TestMail(BaseTestCase):
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 @@ class TestMail(BaseTestCase):
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)
More information about the kallithea-general
mailing list