#NEWLINE# def test_get_headlines( self ) : #NEWLINE# #INDENT# h = self . feed . headlines ( ) #NEWLINE# self . assertIsInstance ( self , list ) #NEWLINE# self . assertTrue ( ( len ( h ) > 1 ) ) #NEWLINE# self . assertIsInstance ( h [ 0 ] , Headline ) #NEWLINE# h_limited = self . feed . headlines ( limit = ( len ( h ) - 1 ) ) #NEWLINE# self . assertEqual ( 1 , ( len ( h ) - len ( h_limited ) ) )