{ "info": { "author": "Kamil Kijak", "author_email": "kamilkijak@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "==================\ndjango-smoke-tests\n==================\n\n.. image:: https://badge.fury.io/py/django-smoke-tests.svg\n :target: https://badge.fury.io/py/django-smoke-tests\n\n.. image:: https://travis-ci.org/kamilkijak/django-smoke-tests.svg?branch=master\n :target: https://travis-ci.org/kamilkijak/django-smoke-tests\n\n.. image:: https://codecov.io/gh/kamilkijak/django-smoke-tests/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/kamilkijak/django-smoke-tests\n\nDjango command that finds all endpoints in project, executes HTTP requests against them and checks if there are any unexpected responses.\n\n.. image:: https://i.imgur.com/cPK0y3W.gif\n\n.. _contents:\n\n.. contents::\n\nRequirements\n------------\n\n- Python (2.7, 3.4, 3.5, 3.6)\n- Django (1.8, 1.9, 1.10, 1.11, 2.0)\n\nInstallation\n------------\nInstall using pip::\n\n pip install django-smoke-tests\n\n\nAdd it to your ``INSTALLED_APPS``:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'django_smoke_tests',\n ...\n )\n\n\nQuickstart\n----------\nExecute smoke tests for the whole project::\n\n python manage.py smoke_tests\n\n\nUsage\n-----\n\nParameters\n~~~~~~~~~~\n::\n\n $ python manage.py smoke_tests --help\n usage: manage.py smoke_tests [-h] [--http-methods HTTP_METHODS]\n [--allow-status-codes ALLOW_STATUS_CODES]\n [--disallow-status-codes DISALLOW_STATUS_CODES]\n [--settings SETTINGS]\n [--configuration CONFIGURATION]\n [--fixture FIXTURE] [--no-migrations] [--no-db]\n [app_names]\n\n Smoke tests for Django endpoints.\n\n positional arguments:\n app_names names of apps to test\n\n optional arguments:\n -h, --help show this help message and exit\n --http-methods HTTP_METHODS\n comma separated HTTP methods that will be executed for\n all endpoints, eg. GET,POST,DELETE\n [default: GET,POST,PUT,DELETE]\n -g, --get-only shortcut for --http-methods GET\n --allow-status-codes ALLOW_STATUS_CODES\n comma separated HTTP status codes that will be\n considered as success responses, eg. 200,201,204\n [default: 200,201,301,302,304,405]\n --disallow-status-codes DISALLOW_STATUS_CODES\n comma separated HTTP status codes that will be\n considered as fail responses, eg. 404,500\n --settings SETTINGS path to the Django settings module, eg.\n myproject.settings\n --configuration CONFIGURATION\n name of the configuration class to load, eg.\n Development\n --fixture FIXTURE Django fixture JSON file to be loaded before executing\n smoke tests\n --no-migrations flag for skipping migrations, database will be created\n directly from models\n --no-db flag for skipping database creation\n\n\nSkipping tests\n~~~~~~~~~~~~~~\nTo skip tests for specific URLs add ``SKIP_SMOKE_TESTS`` option in your settings.\n\nThis setting should contain list of URLs' names.\n\n.. code-block:: python\n\n SKIP_SMOKE_TESTS = (\n 'all-astronauts', # to skip url(r'^astronauts/', AllAstronauts.as_view(), name='all-astronauts')\n )\n\n\nReporting bugs\n--------------\nIf you face any problems please report them to the issue tracker at https://github.com/kamilkijak/django-smoke-tests/issues\n\nContributing\n-------------\n\nRunning Tests\n~~~~~~~~~~~~~~\nDoes the code actually work?\n\n::\n\n source /bin/activate\n (myenv) $ pip install tox\n (myenv) $ tox\n\nCredits\n-------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kamilkijak/django-smoke-tests", "keywords": "django-smoke-tests", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-smoke-tests", "package_url": "https://pypi.org/project/django-smoke-tests/", "platform": "", "project_url": "https://pypi.org/project/django-smoke-tests/", "project_urls": { "Homepage": "https://github.com/kamilkijak/django-smoke-tests" }, "release_url": "https://pypi.org/project/django-smoke-tests/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Automatic smoke tests for Django project.", "version": "1.0.1" }, "last_serial": 4141309, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0b79877971f57b5c4a7f986988f7b704", "sha256": "94e7206dbc081f034a67d49f207004bcf158eeeeadbf6c2de59fbe18f8b95cff" }, "downloads": -1, "filename": "django-smoke-tests-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0b79877971f57b5c4a7f986988f7b704", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10163, "upload_time": "2017-12-03T22:21:55", "url": "https://files.pythonhosted.org/packages/15/70/15dc00a3f54bc390893ed10eb4d0c67491a467cb049b89efa88c484909f9/django-smoke-tests-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ab0dcb9f85125109836aa45433c0a6aa", "sha256": "6422a29cdd25beab90633bf3996f1439c0c9cc27d238dba654dc220f107845d6" }, "downloads": -1, "filename": "django_smoke_tests-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab0dcb9f85125109836aa45433c0a6aa", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11056, "upload_time": "2017-12-03T22:45:02", "url": "https://files.pythonhosted.org/packages/25/ae/057f82c5ea59031486eacce5953d7f9acbfb14d66cb46d15501531fb4058/django_smoke_tests-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28e7dc2fdbf653d1ebd5fa6086129529", "sha256": "f11c5c5535c09a5f7209594b351390a31c39db05baf4bb760d1326c7bcab9083" }, "downloads": -1, "filename": "django-smoke-tests-0.1.1.tar.gz", "has_sig": false, "md5_digest": "28e7dc2fdbf653d1ebd5fa6086129529", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10176, "upload_time": "2017-12-03T22:44:57", "url": "https://files.pythonhosted.org/packages/9e/b7/01c8ce1f9f449cf859a1a035ff552c32d4cb8bd734b7094587b7240008e8/django-smoke-tests-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "2e7054a646ff353cff64f7a4a3e95409", "sha256": "55afcc8d64846168626581fe5d4fc873493cca74d43958f23179e6fc589d11b7" }, "downloads": -1, "filename": "django_smoke_tests-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2e7054a646ff353cff64f7a4a3e95409", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11064, "upload_time": "2017-12-03T23:14:00", "url": "https://files.pythonhosted.org/packages/7a/c5/7d11329e64f6a19e93aefa462659b8bc2ad1e04a50bfd10bce6cc99c3477/django_smoke_tests-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6516807b1e56ddd28e224e691ee71d17", "sha256": "e8e824fdb3456ca81322200430310cf3c5b05f786999794ecb2c90dd39b67530" }, "downloads": -1, "filename": "django-smoke-tests-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6516807b1e56ddd28e224e691ee71d17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10176, "upload_time": "2017-12-03T23:13:57", "url": "https://files.pythonhosted.org/packages/9c/6f/4deaddaeecd0303eeaebde9412a91cd2597376bbee6f51dad9118f0c5a9b/django-smoke-tests-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2d7d44eb5bf4954df6eefef9c78cadc9", "sha256": "0884272b6cee1c4964d823e97f199b3cf0cffb6678c026c258575d8725f44366" }, "downloads": -1, "filename": "django_smoke_tests-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2d7d44eb5bf4954df6eefef9c78cadc9", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11007, "upload_time": "2017-12-03T23:42:34", "url": "https://files.pythonhosted.org/packages/5b/01/1824bedb7f787fbfd6e3671a46bd88d2f63bef789bf925749e08cb86efc2/django_smoke_tests-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d9a50fa1cd10757b33993c34d92d8eda", "sha256": "4a2a80ac86778b176f1e3b2c6ef7b0c2f0d049787e7a7bd2f327c4ecb0902a3c" }, "downloads": -1, "filename": "django-smoke-tests-0.1.3.tar.gz", "has_sig": false, "md5_digest": "d9a50fa1cd10757b33993c34d92d8eda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10084, "upload_time": "2017-12-03T23:42:28", "url": "https://files.pythonhosted.org/packages/a7/ae/d8552f777045e29f630cf9fc86e159e47991992ceb384f13bb5b79f2e4b3/django-smoke-tests-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "1543c23bc3391461d890637c9852819d", "sha256": "2f90eccc4eeaac0f551f98029f0bc1abbd95ee58bfaa997a0f2902a0116e08a1" }, "downloads": -1, "filename": "django_smoke_tests-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1543c23bc3391461d890637c9852819d", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11170, "upload_time": "2017-12-09T22:43:53", "url": "https://files.pythonhosted.org/packages/24/57/7f47577d1d337a205512f7d9790cf3fd8e8609e17cbf481adde3740c84b4/django_smoke_tests-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fee385981cd6dd88b713c5ce20f191d2", "sha256": "fcd341348d93600a8a415faab523f4f3b0ec4aeda5799a40b288d4bca402bfa0" }, "downloads": -1, "filename": "django-smoke-tests-0.1.4.tar.gz", "has_sig": false, "md5_digest": "fee385981cd6dd88b713c5ce20f191d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10240, "upload_time": "2017-12-09T22:43:50", "url": "https://files.pythonhosted.org/packages/df/8d/ac64c2dfc0c2ce75136835ffd33bf68af1bb906e7dd88ebe98efeceb1535/django-smoke-tests-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a33c9c72138c166f15bf3b74e7c9a09e", "sha256": "bb9a4e0d4cecdb45a36f54732263c72273b07230c853cc04819d9aa5a7124cb5" }, "downloads": -1, "filename": "django_smoke_tests-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a33c9c72138c166f15bf3b74e7c9a09e", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11375, "upload_time": "2018-01-14T19:00:44", "url": "https://files.pythonhosted.org/packages/75/bd/92775faa8febee184de9b9ce729a1951221c674300ecc769125c77a0ee68/django_smoke_tests-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7631077f40b1f83616da18cf2d0c07a5", "sha256": "65a8f08126064572e6f888c0625fa36e536b73f6e924882a7cafd3d7bdb27657" }, "downloads": -1, "filename": "django-smoke-tests-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7631077f40b1f83616da18cf2d0c07a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10466, "upload_time": "2018-01-14T19:00:42", "url": "https://files.pythonhosted.org/packages/9f/87/ccbbf5458eae541eb2e8b4e9400b22d051ed6bc4b0710bb78e88c9308f8e/django-smoke-tests-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "c656b89bf48ac28968c0eb238eb024a8", "sha256": "c261447771f33207782f09d05ba733d4560915982632cabdb46f7d449c7766c7" }, "downloads": -1, "filename": "django_smoke_tests-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c656b89bf48ac28968c0eb238eb024a8", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11385, "upload_time": "2018-01-16T21:39:41", "url": "https://files.pythonhosted.org/packages/35/2c/0c0a9415a9a789d573566cedcc6af1f473fc99f94fd614c5ba503d162259/django_smoke_tests-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "426503aea33b492d41515e33611f7b05", "sha256": "4f4a4174c48ceff877bf51860c4f7ab4a7cb66d088c0e68b4119d3cff01969a0" }, "downloads": -1, "filename": "django-smoke-tests-0.2.1.tar.gz", "has_sig": false, "md5_digest": "426503aea33b492d41515e33611f7b05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10482, "upload_time": "2018-01-16T21:39:38", "url": "https://files.pythonhosted.org/packages/5d/dc/04dad00358d130d6c33e08ce46e394bc7b4d6aa18b32602dabb71b8e25db/django-smoke-tests-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "7ede249d9558167e93b61e74248f55f1", "sha256": "4f32b5a0c3630373bf73c64dcdca9d83fe240966c3a27953b587bda13902eb47" }, "downloads": -1, "filename": "django_smoke_tests-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7ede249d9558167e93b61e74248f55f1", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11387, "upload_time": "2018-01-16T21:57:50", "url": "https://files.pythonhosted.org/packages/15/d4/be90dac6c5cd8cfab223254d18bca271f27ec6ded2c5e0ba13fc3e4c5d1d/django_smoke_tests-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd592665a5bd7503951980bb9779192b", "sha256": "6b4ca7b12e110a57c2f8b2c487a6d8f8bf5825944213dfed9c89874bee6a9aa5" }, "downloads": -1, "filename": "django-smoke-tests-0.2.2.tar.gz", "has_sig": false, "md5_digest": "cd592665a5bd7503951980bb9779192b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10489, "upload_time": "2018-01-16T21:57:47", "url": "https://files.pythonhosted.org/packages/c6/1b/14f7aeaf606268b1f5fd7588d5043cc52843bfe18a3283d0a6d5a90cf766/django-smoke-tests-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "90826dfcea753f07a003c6bff112d963", "sha256": "36fe9700d05d383fcb02406be88b274f577a7931e123a533f8ab72fd951c7e98" }, "downloads": -1, "filename": "django_smoke_tests-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90826dfcea753f07a003c6bff112d963", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12371, "upload_time": "2018-01-21T15:08:27", "url": "https://files.pythonhosted.org/packages/87/d5/71e1b860f06101b1bc48337b5a7a340266cfca6905dab83d6801c3608009/django_smoke_tests-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6883e6f8427f7f5b3e4192e99e814326", "sha256": "a5e9a8cf52622ef884ca710f2b9b5bcafacf2fe926480fdb324e073a687c0771" }, "downloads": -1, "filename": "django-smoke-tests-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6883e6f8427f7f5b3e4192e99e814326", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11095, "upload_time": "2018-01-21T15:08:24", "url": "https://files.pythonhosted.org/packages/a9/d6/e250c5a40c6be3716dd5baef27e5f36d60cb13e642e448948dd973b928bd/django-smoke-tests-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "65e6090fca8381877d829ecf6edc5d10", "sha256": "18191137576881fe1b85863f65d2d21d03c619b640da70cd9fc51e021735eaed" }, "downloads": -1, "filename": "django_smoke_tests-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "65e6090fca8381877d829ecf6edc5d10", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 12681, "upload_time": "2018-01-22T19:40:55", "url": "https://files.pythonhosted.org/packages/85/19/c4eeba8ce454a8fb2151b4775efa0ce94d492684fcabd58e5a5b7f63f5aa/django_smoke_tests-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "113b644dc3e40db680172723a1b9f84c", "sha256": "0402c5493be8881cc9b565010bf984c680d16c7f673cfedf1ac606e6d5a5b560" }, "downloads": -1, "filename": "django-smoke-tests-0.4.0.tar.gz", "has_sig": false, "md5_digest": "113b644dc3e40db680172723a1b9f84c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11314, "upload_time": "2018-01-22T19:40:49", "url": "https://files.pythonhosted.org/packages/d3/8e/b6a335351faaf47fbb35a0413c844f02834f86e0194563a67e136fc5c0a1/django-smoke-tests-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "2add14ec8fb5dc5c443e24e2b4b4eda8", "sha256": "b92d27ca40432053e754ef2b8f0ec26ad20bfdd74ffc5dd100722cef5c76a410" }, "downloads": -1, "filename": "django_smoke_tests-0.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2add14ec8fb5dc5c443e24e2b4b4eda8", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 12689, "upload_time": "2018-02-12T21:15:46", "url": "https://files.pythonhosted.org/packages/0e/1e/0aa9ea0b3077404cd2bd03a2608940a93a7f0794ee78cf12b6fd2c4d73e4/django_smoke_tests-0.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "52167a9b4369676d76f91e9a8f14d1b0", "sha256": "555fcf5a24c4e08e18353905b93d6775d92fa55f71f12298c7a70d2235d2c4da" }, "downloads": -1, "filename": "django-smoke-tests-0.4.1.tar.gz", "has_sig": false, "md5_digest": "52167a9b4369676d76f91e9a8f14d1b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11287, "upload_time": "2018-02-12T21:15:43", "url": "https://files.pythonhosted.org/packages/80/14/c86217988650a1a76a0ebb0146a372d1c98092c0bd97615fc9d272ffdbba/django-smoke-tests-0.4.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "63a903737dc0a23f7eb486c87717c8f6", "sha256": "483551c928e6e3890f6e23c3df523e5cfcf9d87497b12e1493823cfb94a6e0a3" }, "downloads": -1, "filename": "django-smoke-tests-1.0.0.tar.gz", "has_sig": false, "md5_digest": "63a903737dc0a23f7eb486c87717c8f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11284, "upload_time": "2018-08-06T18:10:21", "url": "https://files.pythonhosted.org/packages/0a/80/b5d542fc92872b95f9eb3d21ef35f52d6b8b7e3b927e759f22569691873c/django-smoke-tests-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "657459ed5e44de8dcce7ddd17e181152", "sha256": "67f7b0469d4831156be456f1830d7f9567b0e5e03d0dcaca049c0369e9d82d88" }, "downloads": -1, "filename": "django-smoke-tests-1.0.1.tar.gz", "has_sig": false, "md5_digest": "657459ed5e44de8dcce7ddd17e181152", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11317, "upload_time": "2018-08-06T18:14:31", "url": "https://files.pythonhosted.org/packages/05/cb/9d1c0cb7156b1b94f621539034d7569abe094c91f013969f1e2e8480451f/django-smoke-tests-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "657459ed5e44de8dcce7ddd17e181152", "sha256": "67f7b0469d4831156be456f1830d7f9567b0e5e03d0dcaca049c0369e9d82d88" }, "downloads": -1, "filename": "django-smoke-tests-1.0.1.tar.gz", "has_sig": false, "md5_digest": "657459ed5e44de8dcce7ddd17e181152", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11317, "upload_time": "2018-08-06T18:14:31", "url": "https://files.pythonhosted.org/packages/05/cb/9d1c0cb7156b1b94f621539034d7569abe094c91f013969f1e2e8480451f/django-smoke-tests-1.0.1.tar.gz" } ] }