FICHA · MANJARO

python-pytest-socket

Pytest plugin to disable socket calls during tests

  • Plugin
  • Dev
  • NETWORK
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Blocks or controls socket calls during pytest runs. It helps test suites prevent accidental network access and prove code paths do not silently contact external services.

Network blocking is useful for isolation, but tests should explicitly allow the local or remote endpoints they truly need.

Permissions

Permissions not analysed for this source yet.