
pytest-socket 0.7.0
0
Pytest Plugin to disable socket calls during tests
Contents
A plugin to use with Pytest to disable or restrict socket calls during tests to ensure network calls are prevented.
Stars: 329, Watchers: 329, Forks: 50, Open Issues: 10The miketheman/pytest-socket repo was created 8 years ago and the last code push was 3 weeks ago.
The project is popular with 329 github stars!
How to Install pytest-socket
You can install pytest-socket using pip
pip install pytest-socket
or add it to a project with poetry
poetry add pytest-socket
Package Details
- Author
- Mike Fiedler
- License
- MIT
- Homepage
- https://pypi.org/project/pytest-socket/
- PyPi:
- https://pypi.org/project/pytest-socket/
- GitHub Repo:
- https://github.com/miketheman/pytest-socket
Classifiers
- Software Development/Testing
Related Packages
Errors
A list of common pytest-socket errors.
Code Examples
Here are some pytest-socket code examples and snippets.
GitHub Issues
The pytest-socket package has 10 open issues on GitHub
- Add type annotations to src
- Support for emitting warnings on socket use instead of failing?
- Replace Code Quality with Qlty
pythonfix







