#NEWLINE# def test_query_first_page( self ) : #NEWLINE# #INDENT# query = 'o' #NEWLINE# ( count , options ) = paginate_options ( self . data_sources , query , 0 , 5 ) #NEWLINE# self . assertEqual ( count , 4 ) #NEWLINE# self . assertEqual ( options , [ 'Iron Maiden' , 'Oslo' , 'Quito' , 'Jdoe' ] )