BSD Ports

devel/py-test-subtesthack 0.2.0p5 OpenBSD

hack to explicitly set up and tear down fixtures

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
3f059e808a
Categories
devel, lang/python

Description

This terrible plugin allows you to set up and tear down fixtures within the test function itself. This is useful (necessary!) for using Hypothesis inside py.test, as hypothesis will call the test function multiple times, without setting up or tearing down fixture state as is normally the case.

Install

Binary package:

pkg_add py3-test-subtesthack

From the ports tree:

cd /usr/ports/devel/py-test-subtesthack && make install

Dependencies

Build dependencies 5
Run dependencies 2

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
3f059e808a sthen drop @pkgpath/@conflict markers previously used for updates from 7.0/7.1