Fix enrollment message

This commit is contained in:
Mushtaq Ali
2016-01-11 17:24:06 +05:00
parent e8925972d9
commit 8f76f3385a
8 changed files with 38 additions and 12 deletions

View File

@@ -34,7 +34,7 @@ class XssTestMixin(object):
Mixin for testing XSS vulnerabilities.
"""
def assert_xss(self, response, xss_content):
def assert_no_xss(self, response, xss_content):
"""Assert that `xss_content` is not present in the content of
`response`, and that its escaped version is present. Uses the
same `markupsafe.escape` function as Mako templates.