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.

Source Distribution

mate-0.2.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

mate-0.2.0-py2-none-any.whl (4.7 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page