Rishi Gupta
cca573421d
test_emails: Add email_base_{default,message} to ignore list.
2017-07-13 19:17:53 -07:00
Vaida Plankyte
1fb8eb823a
test_emails.py: Add referrer_realm_name to test values.
2017-06-22 14:19:33 -04:00
Rishi Gupta
9a02739008
emails: Remove invitation_mit.
2017-06-12 23:02:28 -07:00
Rishi Gupta
3332ebaf22
emails: Remove confirmation_registration_mit.
...
Not enough new Zephyr signups to justify the carrying cost :(.
2017-06-12 23:02:28 -07:00
Rishi Gupta
1d702d13a4
emails: Replace context variable zulip_support with support_email.
2017-06-10 01:35:03 -07:00
Rishi Gupta
15b967fc3e
emails: Move support_email into a common context.
2017-06-10 01:25:44 -07:00
Vaida Plankyte
114b080d01
emails: Add base template for html emails.
2017-06-09 23:34:24 -07:00
Rishi Gupta
2f1d678133
test_emails: Impose a specific order on the templates.
2017-06-09 23:34:24 -07:00
Rishi Gupta
69e7029663
test_emails: Use zerver.lib.send_email for rendering email.
...
Previously the rendering code in test_emails.py did not match the rendering
code in send_email.py. This commit removes the duplication to reduce the
chance they drift in the future.
This commit also changes test_emails.html to ensure that we always display
both the HTML and text versions of an email.
2017-06-09 23:34:24 -07:00
Rishi Gupta
7fae8fb53d
test_emails: Make fixture values more helpful for visual review.
...
Also fixes the fact that we were pulling assets from chat.zulip.org.
2017-06-09 23:34:24 -07:00
Tim Abbott
14ff26bd67
test_emails: Don't require test coverage for failed template rendering.
2017-06-09 16:28:01 -07:00
Cory Lynch
6219128d87
dev: Add /emails/ URL for testing email templates.
...
Fixes #5270 .
2017-06-09 16:21:49 -07:00