devel/py-test-mock 3.15.1p0 OpenBSD
thin wrapper around mock package for easier use with pytest
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
3f059e808a- Categories
- devel, lang/python
Description
This plugin installs a mocker fixture which is a thin-wrapper around the patching API provided by the mock package, but with the benefit of not having to worry about undoing patches at the end of a test.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-test-mock | 3.15.1p0 |
| NetBSD | devel/py-test-mock | 3.15.1 |
Install
Binary package:
pkg_add py3-test-mock
From the ports tree:
cd /usr/ports/devel/py-test-mock && make install