def testSanitizeEvil(self): obj = server.Server(None) self.assertFalse("<script>" in obj.sanitize("<script>evil();</script>"))