{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/13"}],"enrichment":{"capability":"Automatically mocks HTTP requests across your pytest test suite using the responses library, preventing real network calls during testing.","skillfed_tags":["http-mocking","test-isolation"],"use_cases":["Prevent accidental HTTP requests in unit tests by automatically mocking all network calls.","Test code that makes external API calls without hitting real endpoints or rate limits.","Verify that your application makes the correct HTTP requests with the right parameters and headers.","Run tests in isolated environments (CI/CD, offline) without network dependencies.","Selectively disable mocking for integration tests that need real network access using the withoutresponses marker."],"what_it_does":"pytest-responses is a pytest plugin that integrates the responses HTTP mocking library into your test suite, automatically activating request interception across all tests by default. This prevents accidental network calls during testing and ensures your tests remain isolated and deterministic.\n\nThe plugin provides two main ways to control mocking: a responses fixture you can inject into test functions, and a withoutresponses marker to disable mocking for specific tests that genuinely need external network access. It depends on responses and pytest, both widely used testing tools, so integration into existing test workflows is straightforward.","worth_installing":"Yes. This is a lightweight, actively maintained plugin that solves a common testing problem\u2014network isolation\u2014with minimal friction. Low dependency count, permissive license, and no known vulnerabilities make it a safe addition to test suites. Install it if your tests make HTTP requests and you want to mock them reliably."},"id":"pytest-responses","links":{"html":"https://skillfed.io/packages/pytest-responses","md":"https://skillfed.io/packages/pytest-responses.md","pypi":"https://pypi.org/project/pytest-responses/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-29","license_spdx":null,"license_treatment":"permissive","name":"pytest-responses","python_support":"supports_current","summary":"py.test integration for responses"},"popularity":{"monthly_downloads":203099,"position":9635,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
