#NEWLINE# def testCorrectXmlConversion( self ) : #NEWLINE# #INDENT# self . assert_ ( ( self . feed . id . text == 'http://www.google.com/codesearch/feeds/search?q=malloc' ) ) #NEWLINE# self . assert_ ( ( len ( self . feed . entry ) == 10 ) ) #NEWLINE# for entry in self . feed . entry : #NEWLINE# #INDENT# if ( entry . id . text == 'http://www.google.com/codesearch?hl=en&q=+malloc+show:LDjwp-Iqc7U:84hEYaYsZk8:xDGReDhvNi0&sa=N&ct=rx&cd=1&cs_p=http://www.gnu.org&cs_f=software/autoconf/manual/autoconf-2.60/autoconf.html-002&cs_p=http://www.gnu.org&cs_f=software/autoconf/manual/autoconf-2.60/autoconf.html-002#first' ) : #NEWLINE# #INDENT# self . assert_ ( ( len ( self . match ) == 4 ) ) #NEWLINE# for match in entry . match : #NEWLINE# #INDENT# if ( match . line_number == '4' ) : #NEWLINE# #INDENT# self . assert_ ( ( match . type == 'text/html' ) ) #NEWLINE# #UNINDENT# #UNINDENT# self . assert_ ( ( entry . file . name == 'software/autoconf/manual/autoconf-2.60/autoconf.html-002' ) ) #NEWLINE# self . assert_ ( ( entry . package . name == 'http://www.gnu.org' ) ) #NEWLINE# self . assert_ ( ( entry . package . uri == 'http://www.gnu.org' ) )