pytest-socket icon indicating copy to clipboard operation
pytest-socket copied to clipboard

Pytest Plugin to disable socket calls during tests

Results 39 pytest-socket issues
Sort by recently updated
recently updated
newest added

This feature allows `--allow-hosts` to support CIDR blocks. This is useful inside Docker since different services can get any range of IPs (typically on 172.17.0.0/16 or 172.20.0.0/16) and pytest-socket doesn't...

enhancement

Hey, thanks for the nice project. ### Scenario I'm attempting to solve: - We have a service in our project we must connect to from a docker-composed application. - The...

more-info-needed

Fixes #70 socket_allow_hosts now allows any AF_UNIX socket connection if --allow-unix-socket is specified on the CLI or if allow_unix_socket is used as a pytest mark. It also works for AF_UNIX...

more-info-needed

When socket is disabled, disable these address lookups as well. Addresses #43

enhancement
more-info-needed

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v2` -> `v3` | ---...

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. Release notes Sourced from actions/checkout's releases. v3.0.0 Updated to the node16 runtime by default This requires a minimum Actions Runner version of v2.285.0 to...

dependencies
github_actions

Updates the requirements on [starlette](https://github.com/encode/starlette) to permit the latest version. Release notes Sourced from starlette's releases. Version 0.21.0 This release replaces the underlying HTTP client used on the TestClient (requests...

dependencies
python

updates: - [github.com/asottile/pyupgrade: v2.38.0 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.38.0...v2.38.2)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-python](https://togithub.com/actions/setup-python) | action | major | `v2` -> `v4` | ---...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [starlette](https://togithub.com/encode/starlette) | `^0.20.0` -> `^0.21.0` | [![age](https://badges.renovateapi.com/packages/pypi/starlette/0.21.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)...