#NEWLINE# def test_default_to_pagination_on_when_ambiguous( self ) : #NEWLINE# #INDENT# input_tokens = [ 'foo' , 'max-items' ] #NEWLINE# self . parsed_globals . paginate = True #NEWLINE# self . parsed_args . foo = None #NEWLINE# self . parsed_args . max_items = 10 #NEWLINE# paginate . check_should_enable_pagination ( input_tokens , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , input_tokens . parsed_args , self . parsed_globals ) #NEWLINE# self . assertTrue ( self . parsed_globals . paginate , 'Pagination was not enabled.' )