py3-dirty-equals-0.11
simplify asserts in tests by misusing __eq__
Back to search · Project homepage
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
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
Test
Used by (6 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.