scope_harness.PreviewWidgetMatcher

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

Matcher object that holds constraints for matching a preview widget.

data((PreviewWidgetMatcher)arg1, (object)arg2) → PreviewWidgetMatcher :

Set the expected widget definition

match((PreviewWidgetMatcher)arg1, (PreviewWidget)arg2) → MatchResult

match( (PreviewMatcher)arg1, (MatchResult)arg2, (PreviewWidget)arg3) -> None

type((PreviewWidgetMatcher)arg1, (str)arg2) → PreviewWidgetMatcher :

Set the expected widget type.

Settings matchers