Value is a list of values.
Example:
.. code-block:: python
assert ['foo', 'bar'] == matching.ListOf(matching.any_string) assert [1, 2] != matching.ListOf(matching.any_string)
Definition at line 432 of file matching.py.
Public Member Functions | |
| __init__ (self, value=Any()) | |
| __repr__ (self) | |
| __eq__ (self, other) | |
| __testsuite_visit__ (self, visit) | |
| __testsuite_resolve_value__ (self, other, report_error) | |
Protected Attributes | |
| _value = value | |
| testsuite.matching.ListOf.__init__ | ( | self, | |
| value = Any() ) |
Definition at line 443 of file matching.py.
| testsuite.matching.ListOf.__eq__ | ( | self, | |
| other ) |
Definition at line 449 of file matching.py.
| testsuite.matching.ListOf.__repr__ | ( | self | ) |
Definition at line 446 of file matching.py.
| testsuite.matching.ListOf.__testsuite_resolve_value__ | ( | self, | |
| other, | |||
| report_error ) |
Definition at line 462 of file matching.py.
| testsuite.matching.ListOf.__testsuite_visit__ | ( | self, | |
| visit ) |
Definition at line 459 of file matching.py.
|
protected |
Definition at line 444 of file matching.py.