def prepare_suites_from_test_cases(case_class_list):
 test_suites = []
 for cls in case_class_list:
  test_suites.append(unittest.TestLoader().loadTestsFromTestCase(cls))
 return test_suites

def prepare_suites_from_test_cases ( case_class_list ) : test_suites = [ ] for cls in case_class_list : test_suites . append ( unittest . TestLoader ( ) . loadTestsFromTestCase ( cls ) ) return test_suites
this function prepares a list of suites to be tested .