{ "info": { "author": "cybergrind", "author_email": "cybergrind@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython" ], "description": "pytest-tipsi-testing\n====================\n\n.. contents:: **Table of Contents**\n :backlinks: none\n\nInstallation\n------------\n\npytest-tipsi-testing is distributed on `PyPI `_ as a universal\nwheel and is available on Linux/macOS and Windows and supports\nPython 3.5+.\n\n.. code-block:: bash\n\n $ pip install pytest-tipsi-testing\n\nLicense\n-------\n\npytest-tipsi-testing is distributed under the terms of the\n`MIT License `_.\n\n\nMotivation and features\n-----------------------\n\nWe want to make fixtures more predictable in pytest. So this plugin ensures that only loaded fixtures will be available when test is running.\n\nCurrently pytest allows fixtures with bigger scopes (session, module and etc.) to be instantiated even if test doesn't directly require them. This may cause some troubles in several cases, for example if you wan't to create some kind of cache in bigger fixture.\n\nThis means that all not required fixtures will be finished before test is started: even with bigger scope. So if you want to have some fixtures always awailable (eg. docker_start fixture with session scope) - you should make it autoused.\n\n\nAlso we're forcing correct order for fixtures with different scopes: session -> module -> class -> function.\n\n\nUsecase\n^^^^^^^\n\nIn conjunction with `pytest-tipsi-django `_ you can make fixtures on different level than scope and share the same database state across different tests. It's quit helpful when you perform complex and long database setup and want to have small and readable test cases.\n\nPlease see ``pytest-tipsi-django`` documentation for more detailed description.\n\n\nFixtures\n--------\n\nvprint\n^^^^^^\n\nPrint that works only when verbose mode is enabled ``-v``.\n\n*Note*: you should add ``-s`` to see the output.\n\n\nlog_requests\n^^^^^^^^^^^^\n\nUse it when you want to write down all request/responses made with `requests `_ library. By default it will put docs into ``.doc`` dir or other directory supplied by ``DOCS_ROOT`` environmental variable.\n\n.. code-block:: python\n\n def example(log_requests):\n import requests\n with log_request('out_file'):\n r = requests.get('http://echo.jsontest.com/key/value/one/two')\n assert r.status_code == 200, r\n\n\nIt will put json file into your ``.doc/{MODULE_PATH}.out_file.json``, in my case it was a ``.doc/tests.test_log_requests.out.json`` your case may be different depending on module you have used it in.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tipsi/pytest-tipsi-testing", "keywords": "pytest", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-tipsi-testing", "package_url": "https://pypi.org/project/pytest-tipsi-testing/", "platform": "", "project_url": "https://pypi.org/project/pytest-tipsi-testing/", "project_urls": { "Homepage": "https://github.com/tipsi/pytest-tipsi-testing" }, "release_url": "https://pypi.org/project/pytest-tipsi-testing/1.3.1/", "requires_dist": null, "requires_python": "", "summary": "Better fixtures management. Various helpers", "version": "1.3.1" }, "last_serial": 4016199, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8a60a28214b75f210a3d4f3378ed7832", "sha256": "6a838a7ade1d57fd0810335d259bd25fc0ac3996e5edc3351268414a7be2277d" }, "downloads": -1, "filename": "pytest_tipsi_testing-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8a60a28214b75f210a3d4f3378ed7832", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5955, "upload_time": "2017-09-27T21:16:05", "url": "https://files.pythonhosted.org/packages/80/9e/2ebcf1895ca7f866eb766c75e52df21b8af5086ef01c4338290476a2202f/pytest_tipsi_testing-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "47ad36101439cdf43e67973695e33876", "sha256": "3395c311abd64e2993c03851b592624e69b7d001dcdb83e81c4553e734377430" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.1.0.tar.gz", "has_sig": false, "md5_digest": "47ad36101439cdf43e67973695e33876", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3948, "upload_time": "2017-09-27T21:16:06", "url": "https://files.pythonhosted.org/packages/e3/19/9e0fde039009b8b44eed99475b8326dd85681a8f201bc1ecdf339b8c5c6f/pytest-tipsi-testing-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c244927300a38c4070cae26375b52d78", "sha256": "78c46c4e8de03d02490597dc0aa612da6c039a2ff9a1ec556183e16abba96b94" }, "downloads": -1, "filename": "pytest_tipsi_testing-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c244927300a38c4070cae26375b52d78", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5991, "upload_time": "2017-09-27T21:17:39", "url": "https://files.pythonhosted.org/packages/7d/00/6e72650118f439125f84ddb5fc806eac2dfc2967cdf7dd5f33a23598ee5e/pytest_tipsi_testing-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d00b5104815084a016e75aa486776902", "sha256": "b816704ad202bb20d38369000c8a6988b2e85165ea8215ffd0fb533c954f4e54" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d00b5104815084a016e75aa486776902", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3978, "upload_time": "2017-09-27T21:17:40", "url": "https://files.pythonhosted.org/packages/d0/d1/5a3defedfc26e698a3a80941b102d568743577ce298e6eacc643f1e256af/pytest-tipsi-testing-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d5bd2ac35c01af8d7504e39090041db6", "sha256": "772e96ae6b8e3c359d1d2b392be91eba3e3e2e8c2213849be42ed7967b4c8b55" }, "downloads": -1, "filename": "pytest_tipsi_testing-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d5bd2ac35c01af8d7504e39090041db6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6487, "upload_time": "2017-09-27T22:15:39", "url": "https://files.pythonhosted.org/packages/3b/e1/dbd3219b5ec7823242a2f205e94a1ddc36ff9549265a8a2f65189feb2af8/pytest_tipsi_testing-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "93ff5a9119f9000e36d58e488ef08c4e", "sha256": "ee048c872791254a829383be0fd825e67f09f874505fc064748d8fff0d265fd6" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.2.0.tar.gz", "has_sig": false, "md5_digest": "93ff5a9119f9000e36d58e488ef08c4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4266, "upload_time": "2017-09-27T22:15:40", "url": "https://files.pythonhosted.org/packages/0d/e6/bd88c151ba4a19ee56f01257ab8fe5f2dcf34ccbca0b04d8deb136327789/pytest-tipsi-testing-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "3fb20bad19a1c89da6cade04ddde0ba4", "sha256": "4ddc48d468b146f611b48e254f3fa8f718b4a14e8bc3988476e59e290f814a09" }, "downloads": -1, "filename": "pytest_tipsi_testing-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3fb20bad19a1c89da6cade04ddde0ba4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6660, "upload_time": "2017-09-29T16:31:45", "url": "https://files.pythonhosted.org/packages/b1/1e/d39b06fe7b9e88a232fdfa5937bd76d6cb993e0d1ca72e11200e84e8f387/pytest_tipsi_testing-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "482c830da02d7bbc2dfb5c0a3fea0aa3", "sha256": "e22e89ba4c1f53e61cd451e9f617164b44c862da8960e35a68f2c0355ecc83cb" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.3.0.tar.gz", "has_sig": false, "md5_digest": "482c830da02d7bbc2dfb5c0a3fea0aa3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4431, "upload_time": "2017-09-29T16:31:47", "url": "https://files.pythonhosted.org/packages/80/54/c73d3e2c0bbc38ffd44074bff1dac531442f2dc5da2476adc11bab99aed4/pytest-tipsi-testing-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "f1a5acb5ceff8141e147e893ecbb0020", "sha256": "07b4a46147e25044c1ee0c3972192e1ac149ccecc15b2031ce649909849dd79e" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.4.0.tar.gz", "has_sig": false, "md5_digest": "f1a5acb5ceff8141e147e893ecbb0020", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4405, "upload_time": "2017-10-16T12:40:18", "url": "https://files.pythonhosted.org/packages/46/62/08c60f318cc4d228dfebbde34604a500624b48dfd04764f2c0b4369f06d7/pytest-tipsi-testing-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "ba1d14f935870becb9e7bf79e1c07da5", "sha256": "a66c98929327e1895a44439fdc0537578e2ad36a6f154d4417b32e21c597e884" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.4.1.tar.gz", "has_sig": false, "md5_digest": "ba1d14f935870becb9e7bf79e1c07da5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4406, "upload_time": "2017-10-18T20:47:19", "url": "https://files.pythonhosted.org/packages/c1/05/60174f841a93bb0b059d719033574efb23a15a977aa5dac7af7c93021360/pytest-tipsi-testing-0.4.1.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "88971f26c9cd85ce2cd9641bac4e7ed3", "sha256": "142c2aab8ab76208756705e620be980dba0a79e7507f841bd2453e68625c9e4c" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.5.0.tar.gz", "has_sig": false, "md5_digest": "88971f26c9cd85ce2cd9641bac4e7ed3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5580, "upload_time": "2017-11-21T15:39:48", "url": "https://files.pythonhosted.org/packages/f0/fa/22e225709f5eb2b7eb4df452733efebadbd7ba1f00e04b23d3a5067dca00/pytest-tipsi-testing-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "cc7af991e9ff99a02c66eee956ece041", "sha256": "cb18f22c11fc94a9505adddb6f409b4d815d63e33eb41f17c309fedc53528929" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.5.1.tar.gz", "has_sig": false, "md5_digest": "cc7af991e9ff99a02c66eee956ece041", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5611, "upload_time": "2017-11-21T18:04:04", "url": "https://files.pythonhosted.org/packages/73/a8/8279cd41e224d4a1b7f204ad5834f1ed56f1c64978415377bff3f1f7f4f6/pytest-tipsi-testing-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "84ed6fb279e26be9508a1546ea3e4895", "sha256": "15dbec16fa4879ed642e3a3213f3cac94232b743971acd8b6476a14155ee510b" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.5.2.tar.gz", "has_sig": false, "md5_digest": "84ed6fb279e26be9508a1546ea3e4895", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5611, "upload_time": "2017-11-21T19:48:30", "url": "https://files.pythonhosted.org/packages/6a/b1/361ea66b274b89693c6313f6972a47b20b6bec1cfa7e873cf82ef94211f6/pytest-tipsi-testing-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "c1a9d37a7d6498bbffbaf1226215e380", "sha256": "c3276a9d1ac204b92b19b237dc37de13ab19509395c02b120f6f7ff5bee03a0c" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.5.3.tar.gz", "has_sig": false, "md5_digest": "c1a9d37a7d6498bbffbaf1226215e380", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5634, "upload_time": "2017-11-21T20:12:06", "url": "https://files.pythonhosted.org/packages/f5/e4/5a44dc1ccde2de3d022f8ff80281e7394991882fc0fa79e846d72875e7e3/pytest-tipsi-testing-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "e6fa47a549b7f956ff6c48805e7716fd", "sha256": "0f72e6205e15fcc3eac8795c9440c2df7f8136d147a1b85d882c21badc03b511" }, "downloads": -1, "filename": "pytest-tipsi-testing-0.5.4.tar.gz", "has_sig": false, "md5_digest": "e6fa47a549b7f956ff6c48805e7716fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5655, "upload_time": "2017-11-21T20:26:09", "url": "https://files.pythonhosted.org/packages/58/08/24345a444c83873a5dd7d7cfd99bd1ea9ecb89f591c9d550c13f2dff897f/pytest-tipsi-testing-0.5.4.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "266625ea866cb60698637fcc7b78ad8e", "sha256": "f9bfb4603e6aaf1ef77a3d39b2e86db7a0e658ce12fe5031d8baaec3ed829555" }, "downloads": -1, "filename": "pytest-tipsi-testing-1.0.0.tar.gz", "has_sig": false, "md5_digest": "266625ea866cb60698637fcc7b78ad8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5668, "upload_time": "2017-12-25T06:43:51", "url": "https://files.pythonhosted.org/packages/cc/a0/8a294734542370d352259ccdff1b91a474403a5595de3b36fe55784ae1be/pytest-tipsi-testing-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "d970262fd4bb6a2e19f704e66495ae8f", "sha256": "2a173ac1da18facc5324f1f4de5355566c0c433f08ec3f15597c9d8f334cb5b2" }, "downloads": -1, "filename": "pytest-tipsi-testing-1.1.0.tar.gz", "has_sig": false, "md5_digest": "d970262fd4bb6a2e19f704e66495ae8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6093, "upload_time": "2018-02-09T13:24:59", "url": "https://files.pythonhosted.org/packages/72/16/05e61eb2cf2813abe61ea31ff09450e8f89ec1d573f22d8bf4ea69b4763f/pytest-tipsi-testing-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "8fe6ccda8616deda9ec9b45b54c1ec7b", "sha256": "73cc6a23a3c5ebd96018944b45d1d19fa1247cfce817e1d1cc5e7baaeeee5e96" }, "downloads": -1, "filename": "pytest-tipsi-testing-1.2.0.tar.gz", "has_sig": false, "md5_digest": "8fe6ccda8616deda9ec9b45b54c1ec7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6096, "upload_time": "2018-02-23T14:32:17", "url": "https://files.pythonhosted.org/packages/95/d7/0379550fa1c97cd55f58860554856760f897ed53471f44b5a77c73a90c2b/pytest-tipsi-testing-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "1868981cd32c3c2b5a243ef985b6f8a0", "sha256": "d0ebd6457c1b6597a5f2d79ff44d510719f2a4f832cb6d8d8aef97ecd81cd6c1" }, "downloads": -1, "filename": "pytest-tipsi-testing-1.3.0.tar.gz", "has_sig": false, "md5_digest": "1868981cd32c3c2b5a243ef985b6f8a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6084, "upload_time": "2018-03-27T14:55:18", "url": "https://files.pythonhosted.org/packages/ed/57/d4be2ea2410bc36ea5541ac5fa2e98f1c24b9bef26e2ff6bfc2d39f540fb/pytest-tipsi-testing-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "0e4ceb0cff96f09bc6e60f58b89228c0", "sha256": "0069bafd77cec770a2591e60fb3fe249c071f67667a6f49f768811accef4df81" }, "downloads": -1, "filename": "pytest-tipsi-testing-1.3.1.tar.gz", "has_sig": false, "md5_digest": "0e4ceb0cff96f09bc6e60f58b89228c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6136, "upload_time": "2018-06-29T17:52:35", "url": "https://files.pythonhosted.org/packages/57/1f/670716968fa718e397523ab838ff95cd73aa57a0bc38568c0a60e97f817e/pytest-tipsi-testing-1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0e4ceb0cff96f09bc6e60f58b89228c0", "sha256": "0069bafd77cec770a2591e60fb3fe249c071f67667a6f49f768811accef4df81" }, "downloads": -1, "filename": "pytest-tipsi-testing-1.3.1.tar.gz", "has_sig": false, "md5_digest": "0e4ceb0cff96f09bc6e60f58b89228c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6136, "upload_time": "2018-06-29T17:52:35", "url": "https://files.pythonhosted.org/packages/57/1f/670716968fa718e397523ab838ff95cd73aa57a0bc38568c0a60e97f817e/pytest-tipsi-testing-1.3.1.tar.gz" } ] }