#NEWLINE# def get_grouped_results( self , commands , num_expected ) : #NEWLINE# #INDENT# grouped = regroup_commands ( commands ) #NEWLINE# self . assertEquals ( len ( grouped ) , num_expected , grouped ) #NEWLINE# return grouped