{"id":26576528,"url":"https://github.com/getsentry/pytest-responses","last_synced_at":"2025-04-13T09:00:17.869Z","repository":{"id":14302933,"uuid":"76293715","full_name":"getsentry/pytest-responses","owner":"getsentry","description":"py.test integration for responses","archived":false,"fork":false,"pushed_at":"2024-12-17T21:00:19.000Z","size":37,"stargazers_count":90,"open_issues_count":5,"forks_count":16,"subscribers_count":43,"default_branch":"main","last_synced_at":"2025-04-06T05:14:57.110Z","etag":null,"topics":["tag-non-production"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getsentry.png","metadata":{"funding":{"custom":["https://sentry.io/pricing/","https://sentry.io/"]},"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-12T20:40:28.000Z","updated_at":"2025-04-04T04:08:27.000Z","dependencies_parsed_at":"2024-06-18T16:52:59.599Z","dependency_job_id":"d038430b-dc52-4fb3-bc17-e78a9cb5ee58","html_url":"https://github.com/getsentry/pytest-responses","commit_stats":{"total_commits":40,"total_committers":12,"mean_commits":"3.3333333333333335","dds":0.475,"last_synced_commit":"c8716259981f602b2a1ab942d11e06216e288ee8"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fpytest-responses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fpytest-responses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fpytest-responses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fpytest-responses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getsentry","download_url":"https://codeload.github.com/getsentry/pytest-responses/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688573,"owners_count":21145765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tag-non-production"],"created_at":"2025-03-23T03:21:55.219Z","updated_at":"2025-04-13T09:00:17.832Z","avatar_url":"https://github.com/getsentry.png","language":"Python","readme":"pytest-responses\n================\n\n.. image:: https://img.shields.io/pypi/v/pytest-responses.svg\n    :target: https://pypi.python.org/pypi/pytest-responses/\n    \n.. image:: https://github.com/getsentry/pytest-responses/workflows/Test/badge.svg\n    :target: https://github.com/getsentry/pytest-responses/actions/workflows/test.yml\n\nAutomatically activate responses across your py.test-powered test suite (thus preventing HTTP requests).\n\n.. sourcecode:: shell\n\n    $ pip install pytest-responses\n\nIf particular tests need access to external domains, you can use the ``withoutresponses`` marker:\n\n.. sourcecode:: python\n\n    @pytest.mark.withoutresponses\n    def test_disabled():\n        with pytest.raises(ConnectionError):\n            requests.get('http://responses.invalid')\n\n        assert len(responses.calls) == 0\n\n\nAdditionally, you can use the responses fixture:\n\n.. sourcecode:: python\n\n    def test_enabled(responses):\n        with pytest.raises(ConnectionError):\n            requests.get('http://responses.invalid')\n\n        assert len(responses.calls) == 1\n","funding_links":["https://sentry.io/pricing/","https://sentry.io/"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fpytest-responses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetsentry%2Fpytest-responses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fpytest-responses/lists"}