pytest-blockage
pytest-blockage copied to clipboard
py.test plugin that can disable network requests during a test run.
```py parser.addini(..., type='linelist') ``` allows people to specify longer whitelists comfortably and to use TOML lists when configuring with `pyproject.toml`. For backwards compat, you can do `if len(whitelist) == 1:...
setup.py says 'BSD' LICENSE says 'MIT'
Please consider moving to new [pytest-dev](https://github.com/orgs/pytest-dev) team. See [contributing](https://bitbucket.org/pytest-dev/pytest/src/e26175bf8246f01fc5573e92359b3124624c31b7/CONTRIBUTING.rst?at=default#rst-header-id8) for more information. Cheers,
When building rpms in isolated VMs, it is necessary to disable tests which use the internet. This plugin raises an exception, causing the tests to fail, and it is so...
aiohttp doesn't use httplib but `asyncio` Tcp connection instead. `aiohttp` is basically an async version of httplib. This applies the patch to aiohttp without asking, because the user shouldn't be...