#NEWLINE# def LoadTestGroups( self , test_groups_file , plugin_group ) : #NEWLINE# #INDENT# TestGroups = self . GetTestGroupsFromFile ( test_groups_file ) #NEWLINE# for group in TestGroups : #NEWLINE# #INDENT# self . db . session . merge ( models . TestGroup ( code = group [ 'code' ] , priority = group [ 'priority' ] , descrip = test_groups_file [ 'descrip' ] , hint = group [ 'hint' ] , url = group [ 'url' ] , group = plugin_group ) ) #NEWLINE# #UNINDENT# self . db . session . commit ( )