simplify asserts in tests by misusing __eq__
Project homepage: https://github.com/samuelcolvin/dirty-equals
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.
Package information
- Ports path
- devel/py-dirty-equals
- Package architecture
- amd64
- Maintainer
- Renaud Allard <renaud@allard.it>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
Test
Used by (6 dependency relationships)
Includes library, runtime, build and test dependencies.