fastports

dirty-equals 0.11

devel/py-dirty-equals

Do dirty (but extremely useful) things with equals

Category
devel
Maintainer
sunpoet@FreeBSD.org
WWW
https://dirty-equals.helpmanual.io/latest/ https://github.com/samuelcolvin/dirty-equals
License
MIT
USES
python

Description

dirty-equals is a python library that (mis)uses the __eq__ method to make python
code (generally unit tests) more declarative and therefore easier to read and
write.

dirty-equals can be used in whatever context you like, but it comes into its own
when writing unit tests for applications where you're commonly checking the
response to API calls and the contents of a database.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Loading commit history — this may take up to a minute on first view. Reload the page in a moment.