def METHOD_NAME(self, url):
    response = self.client.get(url)
    vld = HTMLValidator()
    vld.validate_fragment(response.content)
    if vld.errors or vld.warnings:
        print(response.content)
    if vld.errors:
        print("ERRORS: %s" % json.dumps(vld.errors, indent=4))
    if vld.warnings:
        print("WARNINGS: %s" % json.dumps(vld.warnings, indent=4))
    self.assertEqual(vld.errors, [])
    self.assertEqual(vld.warnings, [])