def collect_by_suite_strategy(self): """ Collect suite from command """ suite = loader.load_suite_by_name( self.__command, self.__program_data.suites, ) return [suite(self.__program_data)]
def collect_by_case_strategy(self): """ Collect case of suite from command """ suite_name, case_name = self.__command.split(':') suite = loader.load_suite_by_name( suite_name, self.__program_data.suites, ) return [ suite( self.__program_data, case_name=case_name, ), ]