{ "info": { "author": "Kenneth Reitz", "author_email": "me@kennethreitz.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Testing" ], "description": "pytest-httpbin\n==============\n\nhttpbin is an amazing web service for testing HTTP libraries. It has several\ngreat endpoints that can test pretty much everything you need in a HTTP\nlibrary. The only problem is: maybe you don't want to wait for your tests to\ntravel across the Internet and back to make assertions against a remote web\nservice.\n\nEnter pytest-httpbin. Pytest-httpbin creates a pytest \"fixture\" that is\ndependency-injected into your tests. It automatically starts up a HTTP server\nin a separate thread running httpbin and provides your test with the URL in the\nfixture. Check out this example:\n\n.. code-block:: python\n\n def test_that_my_library_works_kinda_ok(httpbin):\n assert requests.get(httpbin.url + '/get/').status_code == 200\n\nThis replaces a test that might have looked like this before:\n\n.. code-block:: python\n\n def test_that_my_library_works_kinda_ok():\n assert requests.get('http://httpbin.org/get').status_code == 200\n\npytest-httpbin also supports https and includes its own CA cert you can use.\nCheck out `the full documentation`_ on the github page.\n\n.. _the full documentation: https://github.com/kevin1024/pytest-httpbin\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kennethreitz/pytest-pypi", "keywords": "pytest-pypi testing pytest pypi", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-pypi", "package_url": "https://pypi.org/project/pytest-pypi/", "platform": "", "project_url": "https://pypi.org/project/pytest-pypi/", "project_urls": { "Homepage": "https://github.com/kennethreitz/pytest-pypi" }, "release_url": "https://pypi.org/project/pytest-pypi/0.1.1/", "requires_dist": [ "Flask", "six" ], "requires_python": "", "summary": "Easily test your HTTP library against a local copy of pypi", "version": "0.1.1" }, "last_serial": 4831189, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "bc40554061be69bbcd16a60f6284bfee", "sha256": "1f02398a030b224a6db8fc988d698dbbb9fb1c1e982050add4d754628e048ab6" }, "downloads": -1, "filename": "pytest_pypi-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bc40554061be69bbcd16a60f6284bfee", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7751, "upload_time": "2018-03-04T14:44:06", "url": "https://files.pythonhosted.org/packages/ca/db/4bf1730ccd8d44052098016a1e512bd771027ff1ecd1869c198115f8a4b9/pytest_pypi-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e718ac6ea35318b3269ec1419e8c4920", "sha256": "e7a7ca2bc5d2cf4430cee08e5f49d7ec42471fd011d060babefa6ae8fa6a00ff" }, "downloads": -1, "filename": "pytest-pypi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e718ac6ea35318b3269ec1419e8c4920", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8983, "upload_time": "2018-03-04T14:44:07", "url": "https://files.pythonhosted.org/packages/d7/8b/bc5bc4198eafd7da5570e3961b9ea570d72c406623940076448dfba28639/pytest-pypi-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7c7163848b08bdab43f60f64172981fe", "sha256": "a304d3fef4549c929cf77bc9edc478bba806696d16c6a18a9cb023cb45bc8d08" }, "downloads": -1, "filename": "pytest_pypi-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c7163848b08bdab43f60f64172981fe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7753, "upload_time": "2018-03-04T15:24:17", "url": "https://files.pythonhosted.org/packages/6a/c0/8115bd72e3585dcbba1c0842ccb7e526eb3f5084903e9bfffcf0c1e12a92/pytest_pypi-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "465c0812e70171254dfb5917687bacef", "sha256": "4da2f2e88777b53b2f3e7aff66065886f90e23b55f345b15ccf404afb7e8883e" }, "downloads": -1, "filename": "pytest-pypi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "465c0812e70171254dfb5917687bacef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8992, "upload_time": "2018-03-04T15:24:18", "url": "https://files.pythonhosted.org/packages/c9/ee/856f0ee91f9005e88be05c74888a43116a4fc7aae13ec0d099f0367c7b3d/pytest-pypi-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c7163848b08bdab43f60f64172981fe", "sha256": "a304d3fef4549c929cf77bc9edc478bba806696d16c6a18a9cb023cb45bc8d08" }, "downloads": -1, "filename": "pytest_pypi-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c7163848b08bdab43f60f64172981fe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7753, "upload_time": "2018-03-04T15:24:17", "url": "https://files.pythonhosted.org/packages/6a/c0/8115bd72e3585dcbba1c0842ccb7e526eb3f5084903e9bfffcf0c1e12a92/pytest_pypi-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "465c0812e70171254dfb5917687bacef", "sha256": "4da2f2e88777b53b2f3e7aff66065886f90e23b55f345b15ccf404afb7e8883e" }, "downloads": -1, "filename": "pytest-pypi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "465c0812e70171254dfb5917687bacef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8992, "upload_time": "2018-03-04T15:24:18", "url": "https://files.pythonhosted.org/packages/c9/ee/856f0ee91f9005e88be05c74888a43116a4fc7aae13ec0d099f0367c7b3d/pytest-pypi-0.1.1.tar.gz" } ] }