def assertTextAbsent(self, text):
"""
Asserts that the text is not present on the current page
"""
self.assertNotIn(html_norm(escape(text)),
html_norm(self.last_response.content.decode('utf-8')))
文章目录