Versions

Description

A mock equality tool for testing ================================ 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 doubles.

Repository

https://github.com/toddsifleet/equals

Project Slug

equals

Last Built

No builds yet

Maintainers

Home Page

https://github.com/toddsifleet/equals

Badge

Tags

testing, python, mock, doubles

Short URLs

equals.readthedocs.io
equals.rtfd.io

Default Version

latest

'latest' Version

master