devel/py-dirty-equals 0.11 OpenBSD
simplify asserts in tests by misusing __eq__
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Renaud Allard <[email protected]>
- Categories
- devel, lang/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.
In the other systems
The newest version among them is 0.11, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | devel/py-dirty-equals | 0.11 newest | no data | - | Renaud Allard <[email protected]> | - |
| FreeBSD | devel/py-dirty-equals | 0.11 newest | none known | - | [email protected] | - |
| NetBSD | devel/py-dirty-equals | 0.11 newest | none known | - | [email protected] | - |
| DragonFly | devel/py-dirty-equals | 0.9.0 | none known | - | [email protected] | - |
| MidnightBSD | devel/py-dirty-equals | 0.10.0_1 | no data | - | [email protected] | - |
| HardenedBSD | devel/py-dirty-equals | 0.11 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-dirty-equals | 0.11 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg_add py3-dirty-equals
From the ports tree:
cd /usr/ports/devel/py-dirty-equals && make install
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Build dependencies 4
Run dependencies 1
No port depends on this one.