def test_strip_inline_css(self): # Assert strip <style> elements. v = web.strip_inline_css(" <style type=\"text/css\">text</style> ") self.assertEqual(v, " ") print "pattern.web.strip_inline_css()"