{ "info": { "author": "Tristan Haffenden", "author_email": "tristanehaffenden@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Pytest" ], "description": "Pytest Easy Api\n===============\n\n*A pytest plugin for super simple API testing.*\n\nUsing the `api` fixture\n-----------------------\nThe `api` fixture, acts as a pass through to a `requests.Session` object, \nmeaning you can make your API calls from it like so:\n\n.. code-block:: python\n\n def test_my_get_function(api):\n response = api.get('/my-get-endpoint')\n assert response.status_code == 200\n\n\nAnything you can usually do through `requests.Session` you can do through this \nfixture, but you only need to pass the url extension, meaning you can run these\nsame tests on any running instance of your application. \n\n\nTODO\n----\n1. Add option to read base url from config.\n2. Tests.\n3. Add documentation.\n4. Add decorator to read mock from json file.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thaffenden/pytest-easy-api", "keywords": "testing", "license": "", "maintainer": "", "maintainer_email": "", "name": "pytest-easy-api", "package_url": "https://pypi.org/project/pytest-easy-api/", "platform": "", "project_url": "https://pypi.org/project/pytest-easy-api/", "project_urls": { "Homepage": "https://github.com/thaffenden/pytest-easy-api" }, "release_url": "https://pypi.org/project/pytest-easy-api/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "Simple API testing with pytest", "version": "0.0.3" }, "last_serial": 3708219, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "a7126c5c6d0e19a0681e6b1d031cd1cf", "sha256": "c780280885acda223cf007b40e8ee416b5c33f8952748a10e5e679dbe0410445" }, "downloads": -1, "filename": "pytest-easy-api-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a7126c5c6d0e19a0681e6b1d031cd1cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2138, "upload_time": "2018-03-26T21:47:25", "url": "https://files.pythonhosted.org/packages/c6/96/1f3af1a71bad96be98109700bcdc5ab85ff089bc4619a381f4a6ad7e8a47/pytest-easy-api-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e9f4b98e6f2d94dd18c1442454267158", "sha256": "540ef2445a6976e3ed50809ca4cbdbc7de9137465d9fb4ad26d72ea61fd132f4" }, "downloads": -1, "filename": "pytest-easy-api-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e9f4b98e6f2d94dd18c1442454267158", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2173, "upload_time": "2018-03-26T21:56:46", "url": "https://files.pythonhosted.org/packages/97/0b/4dff604e6973ee70519f91057ee421b20398a242f8ef90852482ecdb335b/pytest-easy-api-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e9f4b98e6f2d94dd18c1442454267158", "sha256": "540ef2445a6976e3ed50809ca4cbdbc7de9137465d9fb4ad26d72ea61fd132f4" }, "downloads": -1, "filename": "pytest-easy-api-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e9f4b98e6f2d94dd18c1442454267158", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2173, "upload_time": "2018-03-26T21:56:46", "url": "https://files.pythonhosted.org/packages/97/0b/4dff604e6973ee70519f91057ee421b20398a242f8ef90852482ecdb335b/pytest-easy-api-0.0.3.tar.gz" } ] }