BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/py-dirty-equals0.11 newestno data-Renaud Allard <[email protected]>-
FreeBSDdevel/py-dirty-equals0.11 newestnone known-[email protected]-
NetBSDdevel/py-dirty-equals0.11 newestnone known-[email protected]-
DragonFlydevel/py-dirty-equals0.9.0none known-[email protected]-
MidnightBSDdevel/py-dirty-equals0.10.0_1no data-[email protected]-
HardenedBSDdevel/py-dirty-equals0.11 newestno data-[email protected]-
GhostBSDdevel/py-dirty-equals0.11 newestno data-[email protected]-

Compare across BSDs

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.