django_premailer.tests package¶
Subpackages¶
Submodules¶
django_premailer.tests.test_templatetags module¶
Bases:
django.test.testcases.TestCase
Force a HTML document to be made pretty.
NOTE: This method is required because of strange differences in the way premailer/lxml makes decisions about the placement of newlines. Using tox all tests pass without this hack, however in travis and circleci the
PremailerTests.test_basic()
test fails due to some missing ```` in the generated
actual
HTML.
A very basic test that ensures the tag does what we expect it to do.
Override the base_url.