BSD Ports

devel/py-test_socket 0.8.1 NetBSD

Pytest Plugin to disable socket calls during tests

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
acb37db696
License
mit
Categories
devel, python
Package size
15.2 KiB, 56.8 KiB installed

Description

A plugin to use with Pytest to disable or restrict `socket` calls during tests to ensure network calls are prevented.

Install

Binary package:

pkgin install py311-test_socket

From pkgsrc:

cd /usr/pkgsrc/devel/py-test_socket && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-test_socket-0.8.1, py313-test_socket-0.8.1, py314-test_socket-0.8.1

Commit history 1

DateCommitCreditsLog message
acb37db696 adam py-test_socket: updated to 0.8.1
0.8.1 Fixes: Close the socket before raising on a blocked connect, fixing a file descriptor leak Make SocketConnectBlockedError pickleable so it survives multiprocessing test runners such as pytest-xdist and Django's --parallel Changes: Added mutation testing via make mutmut Added CodSpeed performance benchmarks Dependency, CI, and development updates