#NEWLINE# def test_uielementrole_filter( ) : #NEWLINE# #INDENT# f = UIElementRoleFilter ( 'AXTextField' , 'AXTextArea' ) #NEWLINE# s = ' <uielementrole_only> AXTextField, AXTextArea </uielementrole_only> ' #NEWLINE# util . assert_xml_equal ( f , f )