def get_options(cls): """Additional and updated config options for Testplan class.""" return { ConfigOption("parser", default=TestplanParser): And(has_method("parse_args"), has_method("process_args")), ConfigOption("runnable", default=TestRunner): is_subclass(entity.Runnable), }
def get_options(cls): """Additional config options for Testplan class""" return { ConfigOption('runnable', default=TestRunner): is_subclass(TestRunner), ConfigOption('resources', default=[]): [entity.Resource], ConfigOption('parser', default=TestplanParser): has_method('parse_args') }