userver: testsuite.matching.Lt Class Reference
Loading...
Searching...
No Matches
testsuite.matching.Lt Class Reference

Detailed Description

Value is less than.

Example:

.. code-block:: python

Value must be < 10

assert value == matching.Lt(10)

Definition at line 270 of file matching.py.

Inheritance diagram for testsuite.matching.Lt:

Public Member Functions

 __repr__ (self)
 __eq__ (self, other)
 __testsuite_visit__ (self, visit)

Static Public Attributes

typing op = operator.eq

Protected Attributes

 _value = value

Member Function Documentation

◆ __eq__()

testsuite.matching.Comparator.__eq__ ( self,
other )
inherited

Definition at line 230 of file matching.py.

◆ __repr__()

testsuite.matching.Comparator.__repr__ ( self)
inherited

Definition at line 227 of file matching.py.

◆ __testsuite_visit__()

testsuite.matching.Comparator.__testsuite_visit__ ( self,
visit )
inherited

Definition at line 238 of file matching.py.

Member Data Documentation

◆ _value

testsuite.matching.Comparator._value = value
protectedinherited

Definition at line 225 of file matching.py.

◆ op

typing testsuite.matching.Comparator.op = operator.eq
staticinherited

Definition at line 222 of file matching.py.


The documentation for this class was generated from the following file: