def testEscapeStringWithSingleQuote(self): self.assertTrue(utils.html_escape("""This "is" a 'test'"""), "This "is" a 'test'")
def testEscapeStringsWithDoubleQuotes(self): self.assertTrue(utils.html_escape('This is a "test"'), "This is a "test"")