def _compare_objs(self, obj_list, db_obj_list): for index, obj in enumerate(obj_list): test_service.compare(obj, db_obj_list[index])
def _compare_obj(self, obj, db_obj): test_service.compare(obj, db_obj)