Welcome to brunns-matchers’s documentation!#

Various custom PyHamcrest matchers.

Installation#

Install from Pypi as usual, using pip , tox, or setup.py.

Provided matchers#

Bytestring#

  • contains_bytestring() - match if bytestring contains another.

JSON#

  • json_matching() - match JSON string.

Date & time#

  • is_weekday() - matches date is it’s a weekday.

Indices and tables#