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 |
|
Match a sequence where every element is matched by another matcher. |
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: 0), errors: 0), failures: 0), skips: 0), expectedFailures: 0), unexpectedSuccesses: 0)) ->
Matcher[ Any]
= equal_to(Matcher[ Any]
= has_length(Matcher[ Any]
= has_length(Matcher[ Any]
= has_length(Matcher[ Any]
= has_length(Matcher[ Any]
= has_length(Matcher[ Any]
:
¶
Match a TestCase
instances with matching attributes.
def similarFrame(functionName:
str
, fileName: str
) -> Matcher[ Sequence[ tuple[ str, str, int, list[ object], list[ object]]]]
:
¶
Match a tuple representation of a frame like those used by twisted.python.failure.Failure
.