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

py.test integration for responses

Results 5 pytest-responses issues
Sort by recently updated
recently updated
newest added

https://docs.pytest.org/en/6.2.x/deprecations.html?highlight=yield_fixture#the-yield-fixture-function-decorator

This makes it easier to use the names, since the fixture name `responses` clashes with the module import. For example, it is possible to add a type annotation to a...

enhancement

### Environment python = "3.8.8" pytest = "6.2.2" pytest-responses = "0.5.0" ### Steps to Reproduce 1. Create a test that uses the `responses` fixture. 2. In a second test, use...

bug

Committed via https://github.com/asottile/all-repos

I'd like to use pytest_responses, but I don't like that simply including pytest_responses in the test suite enables responses for all my tests. Although pytest_responses does provide a way to...