#NEWLINE# def test_script_attrs( self ) : #NEWLINE# #INDENT# markup = '<button onclick="foo();"></button>' #NEWLINE# self . analyze ( markup ) #NEWLINE# self . assert_failed ( with_warnings = True ) #NEWLINE# self . analyze ( markup , 'privileged' ) #NEWLINE# self . assert_failed ( with_errors = True )