SuiteResult.select_results#
- SuiteResult.select_results(idx: Optional[Set[int]] = None, names: Optional[Set[str]] = None) List[Union[CheckResult, CheckFailure]] [source]#
Select results either by indexes or result header names.
- Parameters
- idxSet[int], default None
The list of indexes to filter the check results from the results list. If names is None, then this parameter is required.
- namesSet[str], default None
The list of names denoting the header of the check results. If idx is None, this parameter is required. Both idx and names cannot be passed.
- Returns
- List[Union[‘check_types.CheckResult’, ‘check_types.CheckFailure’]]
A list of check results filtered either by the indexes or by their names.