Fuzzy Mock objects for testing
Project description
tl;dr Equals is a stricter version of Mock.Any.
Equals allows you to assert certain equality constraints between python objects during testing. There are times where we don’t want to assert absolute equality, e.g. we need to ensure two lists have the same elements, but don’t care about order. This was designed specifically for usage with Mock and dobles.
Documentation
Documentation is available at http://equals.readthedocs.org/en/latest/.
Installation:
>> pip install equals
Development
Source code is available at https://github.com/smartfastlabs/equals.
To install the dependencies on a fresh clone of the repository, run make bootstrap.
To run the test suite, run make test.
To build the documentation locally, run make docs.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.