Skip to main content

Matchers for unittest

Project description

Mate is an implementation of matchers for Python’s unittest module, which it largely tears out from testtools.

There are two purposes in doing so:

  • Extract portions suitable for submission upstream for inclusion in the unittest module and modify them so that they’re able to be integrated
  • Separate out details, matchers, and delayed assertions from testtools.TestCase so that they can be used with other TestCase subclasses

the second of which supports the first, and an ultimate goal is to contribute a shared implementation that can be used by both the standard library, testtools, and any other consumers.

Licensing

The fundamental API and large portions of the code are taken with slight modifications from the aformentioned testtools package, which is MIT-licensed. Its license and authors are included in the license distributed with this package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mate-0.2.0-py2-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel py2
mate-0.2.0.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page