BSD Ports

devel/py-pytest-socket 0.7.0_1 MidnightBSD

Pytest plugin to disable socket calls during tests

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

pytest-socket is a plugin to use with Pytest to disable or restrict socket calls during tests to ensure network calls are prevented.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-pytest-socket0.7.0_1
FreeBSDdevel/py-pytest-socket0.8.1
DragonFlydevel/py-pytest-socket0.7.0
HardenedBSDdevel/py-pytest-socket0.8.0
GhostBSDdevel/py-pytest-socket0.8.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pytest-socket

From mports:

cd /usr/mports/devel/py-pytest-socket && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-socket>0:devel/py-pytest-socket

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 8

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytest_socket-0.7.0.tar.gz1238971ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3
Master sites 1
  • PYPI