{ "info": { "author": "Motoki Naruse", "author_email": "motoki@naru.se", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries" ], "description": "======\nHtttea\n======\n\n.. image:: https://travis-ci.org/narusemotoki/htttea.svg?branch=master\n :target: https://travis-ci.org/narusemotoki/htttea\n\nI\u2019m **not** a tea pot. Provide a web server for testing.\n\n`CHANGELOG `_\n\n\nUsage\n=====\n\n.. code-block:: python\n\n response_body = b\"Hello World\"\n with htttea.Htttea() as t3:\n t3.response = htttea.Response(body=response_body)\n response = requests.post(t3.url, data=data)\n\n assert t3.request.data == data\n assert response.text == response_body.decode()\n\nHtttea makes a real web server when it is called with :code:`with` statement. You can get a web server URL from :code:`url` property.\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/narusemotoki/htttea", "keywords": "test", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "htttea", "package_url": "https://pypi.org/project/htttea/", "platform": "", "project_url": "https://pypi.org/project/htttea/", "project_urls": { "Homepage": "https://github.com/narusemotoki/htttea" }, "release_url": "https://pypi.org/project/htttea/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Web server for testing.", "version": "0.1.0" }, "last_serial": 3228045, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "4411b8def93e35d8f8576238f2bd3860", "sha256": "0615a9562e4f66e4a308fda556dfc3f22a173361f1aabcba300cf561c4861214" }, "downloads": -1, "filename": "htttea-0.0.1.tar.gz", "has_sig": false, "md5_digest": "4411b8def93e35d8f8576238f2bd3860", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4226, "upload_time": "2017-10-01T14:40:05", "url": "https://files.pythonhosted.org/packages/0b/17/b46eb4fd8183b0eff5e1c5e7834bd5959b5a8faaa70877807e6c178d7746/htttea-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "ab114866d3dc42fc70643cbd1d640d19", "sha256": "853983488bacb8c0320784510ee06fa9d7f3090334b5c6bce882abd9f0212ec7" }, "downloads": -1, "filename": "htttea-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ab114866d3dc42fc70643cbd1d640d19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4452, "upload_time": "2017-10-05T14:26:02", "url": "https://files.pythonhosted.org/packages/76/59/18c1df335109b8728284a11a39936048397d070ca09c2bffa5cbe63dc6b2/htttea-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab114866d3dc42fc70643cbd1d640d19", "sha256": "853983488bacb8c0320784510ee06fa9d7f3090334b5c6bce882abd9f0212ec7" }, "downloads": -1, "filename": "htttea-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ab114866d3dc42fc70643cbd1d640d19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4452, "upload_time": "2017-10-05T14:26:02", "url": "https://files.pythonhosted.org/packages/76/59/18c1df335109b8728284a11a39936048397d070ca09c2bffa5cbe63dc6b2/htttea-0.1.0.tar.gz" } ] }