Newer
Older
from cubicweb_web.devtools.testlib import WebCWTC
from cubicweb.devtools.htmlparser import XMLValidator
class BoostrapTheMainTemplateTC(WebCWTC):
def test_valid_xhtml_index(self):
def test_valid_xhtml_error(self):
valid = self.content_type_validators.get("text/html", XMLValidator)()
with self.admin_access.web_request() as req:
valid.parse_string(self.vreg["views"].main_template(req, "error-template"))