scope_harness.MatchResult

class scope_harness.MatchResult((object)arg1)

Represents the result of matching and is the final object you want to check in your tests. An instance of MatchResult can be obtained by calling one of the match() methods of ResultMatcher, CategoryMatcher, CategoryListMatcher, DepartmentMatcher and ChildDepartmentMatcher. When implementing tests on top of scope_harness.testing.ScopeHarnessTestCase class, use its assertMatchResult helper method to assert on MatchResult instance.

concat_failures
failure((MatchResult)arg1, (str)arg2) → None
failures
success

Search results matchers

  翻译: