Test fails because of too many errors. This is because the example app installs the middlewares which get to run before the htmltidy can check the validity of the page, and causes too many warnings.
Fix: empty the MIDDLEWARE_CLASSES settings before running the tests
Here is the problem, when you run
example_htmltidy/manage.py test
Test fails because of too many errors. This is because the example app installs the middlewares which get to run before the htmltidy can check the validity of the page, and causes too many warnings.
Fix: empty the MIDDLEWARE_CLASSES settings before running the tests