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.