scope_harness.ResultMatcher

class scope_harness.ResultMatcher((object)arg1, (str)arg2)

Matcher object that holds constraints for matching search result.

art((ResultMatcher)arg1, (str)arg2) → ResultMatcher :

Set the art to match

attributes((ResultMatcher)arg1, (object)arg2) → ResultMatcher
background((ResultMatcher)arg1, (object)arg2) → ResultMatcher :

Set the background to match

dnd_uri((ResultMatcher)arg1, (str)arg2) → ResultMatcher :

Set the dnd_uri to match

emblem((ResultMatcher)arg1, (str)arg2) → ResultMatcher :

Set the emblem to match

mascot((ResultMatcher)arg1, (str)arg2) → ResultMatcher :

Set the mascot to match

match((ResultMatcher)arg1, (Result)arg2) → MatchResult

match( (ResultMatcher)arg1, (MatchResult)arg2, (Result)arg3) -> None

properties((ResultMatcher)arg1, (dict)arg2) → ResultMatcher :

Set multiple properties to match at once (expects a dictionary of names and corresponding values)

property((ResultMatcher)arg1, (str)arg2, (object)arg3) → ResultMatcher :

Set an arbitrary property to match

subtitle((ResultMatcher)arg1, (str)arg2) → ResultMatcher :

Set the subtitle to match

summary((ResultMatcher)arg1, (object)arg2) → ResultMatcher :

Set the summary to match

title((ResultMatcher)arg1, (str)arg2) → ResultMatcher :

Set the title to match