module documentation
Hamcrest matchers useful throughout the test suite.
Class |
|
Match a sequence the elements of which sum to a value matched by another matcher. |
Class |
|
No summary |
Class |
|
A type with an associative binary operator. |
Function | is |
Match an instance of Failure with matching attributes. |
Function | matches |
Match a TestCase instances with matching attributes. |
Function | similar |
Match a tuple representation of a frame like those used by twisted.python.failure.Failure . |
Type Variable | S |
Undocumented |
Type Variable | T |
Undocumented |
def matches_result(successes=equal_to( 0), errors=has_length( 0), failures=has_length( 0), skips=has_length( 0), expectedFailures=has_length( 0), unexpectedSuccesses=has_length( 0)):
(source)
¶
Match a TestCase
instances with matching attributes.
Parameters | |
successes:Matcher | Undocumented |
errors:Matcher | Undocumented |
failures:Matcher | Undocumented |
skips:Matcher | Undocumented |
expectedMatcher | Undocumented |
unexpectedMatcher | Undocumented |
Returns | |
Matcher | Undocumented |