{ "info": { "author": "David Cramer", "author_email": "dcramer@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Pytest", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development" ], "description": "pytest-responses\n================\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", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/getsentry/pytest-responses", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "pytest-responses", "package_url": "https://pypi.org/project/pytest-responses/", "platform": "", "project_url": "https://pypi.org/project/pytest-responses/", "project_urls": { "Homepage": "https://github.com/getsentry/pytest-responses" }, "release_url": "https://pypi.org/project/pytest-responses/0.4.0/", "requires_dist": null, "requires_python": "", "summary": "py.test integration for responses", "version": "0.4.0" }, "last_serial": 4756322, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5930738abfb3b1d1929a332c17d4a953", "sha256": "b6af7cabc5b5cb6b2db5d78da5266197fc551e759f0507054a831ab2851243a2" }, "downloads": -1, "filename": "pytest_responses-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5930738abfb3b1d1929a332c17d4a953", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3418, "upload_time": "2016-12-12T21:11:28", "url": "https://files.pythonhosted.org/packages/08/0e/87f1d1d858b1526f5de9346a4b00bcdac3cf33b777da3607c2e2c809371c/pytest_responses-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d4b124be6271b99fc3b6e46439a699bf", "sha256": "5da8c20eea227137e5aeff6dba1243c7ac09ed1c3a01566e1441e1bd39cba44c" }, "downloads": -1, "filename": "pytest-responses-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d4b124be6271b99fc3b6e46439a699bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6020, "upload_time": "2016-12-12T21:11:26", "url": "https://files.pythonhosted.org/packages/86/55/e45950fe6e7efc2924ed56b59ecad30d8d01386c9d6310b1582f7e717c63/pytest-responses-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "02deb9d2e7f4584c7bb1cc5edd1ca76f", "sha256": "13a342c11cbb4c11231403019cb1033a5e9f7917db5408f59c92806dc064e5eb" }, "downloads": -1, "filename": "pytest_responses-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "02deb9d2e7f4584c7bb1cc5edd1ca76f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3545, "upload_time": "2017-07-25T20:11:07", "url": "https://files.pythonhosted.org/packages/08/86/81b4d11c9ed633d7aa5e98682a9ad65fbe37768a87da1a11c0f2c4f24846/pytest_responses-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4a945f40b4db35c1dc63702176b9e0f", "sha256": "8b5ad307e3b570a14a3f9325c8de52cd4d4620ffab338f48f1d338ab39ada235" }, "downloads": -1, "filename": "pytest-responses-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f4a945f40b4db35c1dc63702176b9e0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6100, "upload_time": "2017-07-25T20:11:08", "url": "https://files.pythonhosted.org/packages/be/ab/da1074d0b779b1d4a7b2393493e694f8b93b2dfd16b0e43f202ebdbdc16d/pytest-responses-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "755a87ccb30c10192ca307317fabcc0c", "sha256": "4556395e4d1d69620027e618c302f0dbe16eef05b1037dc5955c921b6d3bc0ee" }, "downloads": -1, "filename": "pytest_responses-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "755a87ccb30c10192ca307317fabcc0c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3558, "upload_time": "2017-10-10T21:44:49", "url": "https://files.pythonhosted.org/packages/3b/d6/eb60f9f07610bef3a49637a7d77f0dca78a964d48613b7d3d3c33bf94489/pytest_responses-0.3.0-py2.py3-none-any.whl" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "ab4b30436bfb1df07b5b258860021d13", "sha256": "1943af2548687c2e1153722f1b2f4a7152d65006ac85508fec8132d3fd5d0c0d" }, "downloads": -1, "filename": "pytest_responses-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab4b30436bfb1df07b5b258860021d13", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6579, "upload_time": "2019-01-29T19:25:23", "url": "https://files.pythonhosted.org/packages/f2/36/b3ff5c6408f0290e33960e2630e63dc3eb89faf16e1d80c3af51b82df41f/pytest_responses-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "650abb383f960a20ae2eef22d968563f", "sha256": "cef8c360273842700733c7849b75219f425edc3f8e22704114778bde3e08e3f7" }, "downloads": -1, "filename": "pytest-responses-0.4.0.tar.gz", "has_sig": false, "md5_digest": "650abb383f960a20ae2eef22d968563f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6320, "upload_time": "2019-01-29T19:25:24", "url": "https://files.pythonhosted.org/packages/ff/a6/01c17ba4083e61f770bed4d339fe98a26a74778c9788361cc7572fcb43e9/pytest-responses-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab4b30436bfb1df07b5b258860021d13", "sha256": "1943af2548687c2e1153722f1b2f4a7152d65006ac85508fec8132d3fd5d0c0d" }, "downloads": -1, "filename": "pytest_responses-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab4b30436bfb1df07b5b258860021d13", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6579, "upload_time": "2019-01-29T19:25:23", "url": "https://files.pythonhosted.org/packages/f2/36/b3ff5c6408f0290e33960e2630e63dc3eb89faf16e1d80c3af51b82df41f/pytest_responses-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "650abb383f960a20ae2eef22d968563f", "sha256": "cef8c360273842700733c7849b75219f425edc3f8e22704114778bde3e08e3f7" }, "downloads": -1, "filename": "pytest-responses-0.4.0.tar.gz", "has_sig": false, "md5_digest": "650abb383f960a20ae2eef22d968563f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6320, "upload_time": "2019-01-29T19:25:24", "url": "https://files.pythonhosted.org/packages/ff/a6/01c17ba4083e61f770bed4d339fe98a26a74778c9788361cc7572fcb43e9/pytest-responses-0.4.0.tar.gz" } ] }