scope_harness.DepartmentMatcher
- class scope_harness.DepartmentMatcher((object)arg1)
Matcher object that holds constraints for matching departments.
- all_label((DepartmentMatcher)arg1, (str)arg2) → DepartmentMatcher :
Set the department alternate (the ‘all’ variant’) label to match
- child((DepartmentMatcher)arg1, (ChildDepartmentMatcher)arg2) → DepartmentMatcher :
Set the matcher for child department
- has_at_least((DepartmentMatcher)arg1, (int)arg2) → DepartmentMatcher :
Set the minimum number of departments
- has_exactly((DepartmentMatcher)arg1, (int)arg2) → DepartmentMatcher :
Set the exact number of departments
Set the ‘hidden’ flag to match
- label((DepartmentMatcher)arg1, (str)arg2) → DepartmentMatcher :
Set the department name (label) to match
- match((DepartmentMatcher)arg1, (Department)arg2) → MatchResult :
- match( (ResultMatcher)arg1, (MatchResult)arg2, (Department)arg3) -> None :
- Match the department
- mode((DepartmentMatcher)arg1, (DepartmentMatcherMode)arg2) → DepartmentMatcher :
Set the matching mode, see DepartmentMatcherMode.