testtools.matchers._basic.Contains(Matcher)
class documentationtesttools.matchers._basic
(View In Hierarchy)
Method | __init__ | Create a Contains Matcher. |
Method | __str__ | Get a sensible human representation of the matcher. |
Method | match | Return None if this matcher matches something, a Mismatch otherwise. |
Parameters | needle | the thing that needs to be contained by matchees. |
Get a sensible human representation of the matcher.
This should include the parameters given to the matcher and any state that would affect the matches operation.