{ "info": { "author": "Prismatic Digital", "author_email": "contact@prismaticdigital.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT 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" ], "description": "==========================\nDjango AssertMaxNumQueries\n==========================\n\n\n.. image:: https://img.shields.io/pypi/v/django-assertmaxnumqueries.svg\n :target: https://pypi.python.org/pypi/django-assertmaxnumqueries\n\n.. image:: https://img.shields.io/travis/prismaticd/django-assertmaxnumqueries.svg\n :target: https://travis-ci.org/prismaticd/django-assertmaxnumqueries\n\n.. image:: https://readthedocs.org/projects/django-assertmaxnumqueries/badge/?version=latest\n :target: https://django-assertmaxnumqueries.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/prismaticd/django-assertmaxnumqueries/shield.svg\n :target: https://pyup.io/repos/github/prismaticd/django-assertmaxnumqueries/\n :alt: Updates\n\n\nProvides a mixin and TransactionTestCase subclass with assertMaxNumQueries(),\n analogous to `django.test.TransactionTestCase.assertNumQueries`_\n\n\n* Free software: MIT license\n* Documentation: https://django-assertmaxnumqueries.readthedocs.io.\n\n\nUsage\n-----\n\nUsage is identical to `django.test.TransactionTestCase.assertNumQueries`_ ,\nexcept check on the number of queries is `assertLessEqual` insert of `assertEqual`.\n\nTo use Django AssertMaxNumQueries in a project::\n\n import django_assertmaxnumqueries\n\n\n class MyTestCase(django_assertmaxnumqueries.TransactionTestCase):\n\n def test_my_test(self):\n with self.assertMaxNumQueries(2):\n Person.objects.create(name=\"Aaron\")\n Person.objects.create(name=\"Daniel\")\n\n\nCredits\n---------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n.. _`django.test.TransactionTestCase.assertNumQueries`: https://docs.djangoproject.com/en/1.11/topics/testing/tools/#django.test.TransactionTestCase.assertNumQueries\n\n\n\n=======\nHistory\n=======\n\n0.1.0 (2017-12-11)\n------------------\n\n* First release on PyPI.\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/prismaticd/django_assertmaxnumqueries", "keywords": "django_assertmaxnumqueries", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "django-assertmaxnumqueries", "package_url": "https://pypi.org/project/django-assertmaxnumqueries/", "platform": "", "project_url": "https://pypi.org/project/django-assertmaxnumqueries/", "project_urls": { "Homepage": "https://github.com/prismaticd/django_assertmaxnumqueries" }, "release_url": "https://pypi.org/project/django-assertmaxnumqueries/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Provides a Django TransactionTestCase.assertMaxNumQueries(), analogous to the existing TransactionTestCase.assertNumQueries()", "version": "0.1.2" }, "last_serial": 5910065, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "13e218107ac9f1b72491780a7671cbdb", "sha256": "15984a55374dc001af75256c58ce879afaa1859b0fa620e634e7a180351605c1" }, "downloads": -1, "filename": "django_assertmaxnumqueries-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "13e218107ac9f1b72491780a7671cbdb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4128, "upload_time": "2017-12-11T02:28:47", "url": "https://files.pythonhosted.org/packages/31/9b/c98facc8dd1beb288c24546686991de48d5dab89e6ea4a782bdc8668b2f2/django_assertmaxnumqueries-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "39ef81bb7ec8bf6836d4ff177f999894", "sha256": "d4da7d49d1dde7afb7522bbebd7f923045a83cbc8da4e73cafecd21fd26808d8" }, "downloads": -1, "filename": "django_assertmaxnumqueries-0.1.0.tar.gz", "has_sig": false, "md5_digest": "39ef81bb7ec8bf6836d4ff177f999894", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17822, "upload_time": "2017-12-11T02:28:48", "url": "https://files.pythonhosted.org/packages/f4/f5/bd0c3116dfdb5e5a01c3197751e9af53affb8ffed07289b6c9f482d79d56/django_assertmaxnumqueries-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "290ad747e574e1d0b659712c9ac38e77", "sha256": "4d7a2f1268ea1dd15788d1d735a15890e11da05efb6d62c226c048be94b20147" }, "downloads": -1, "filename": "django_assertmaxnumqueries-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "290ad747e574e1d0b659712c9ac38e77", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4129, "upload_time": "2017-12-11T02:41:45", "url": "https://files.pythonhosted.org/packages/c1/74/695af40ff29d47f0046eab77cfd6e54b8251f63b76b1d4fc26a9bfc9ae64/django_assertmaxnumqueries-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bb0e48c26f1fdf339b5745902f8c5201", "sha256": "10c684e456890eda86aede8288b0f603cd1838a33e77d9703e7f6f7ed6043406" }, "downloads": -1, "filename": "django_assertmaxnumqueries-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bb0e48c26f1fdf339b5745902f8c5201", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14177, "upload_time": "2017-12-11T02:41:47", "url": "https://files.pythonhosted.org/packages/b3/56/c065fcf51c57d0e929cc6cc541751722279cb71999939061e9ff08d2a1cd/django_assertmaxnumqueries-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "0571f28e179170ee27f43a2742ed6449", "sha256": "324d45ced5a785a5e5fcb03bd0e5e790141ad35c98533b2ab0ad7e99e1428560" }, "downloads": -1, "filename": "django_assertmaxnumqueries-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0571f28e179170ee27f43a2742ed6449", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4568, "upload_time": "2017-12-11T04:06:26", "url": "https://files.pythonhosted.org/packages/54/cf/c9b0e182fb9579e90dd742d347d12a7ae62a7e0679eaf8ad278d05886a2f/django_assertmaxnumqueries-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d56528745f54b15c08a9fb6705095a2", "sha256": "30ce4102b54c4e33498392ab0ac37b558613285126aff1b098db174e3df6bf2b" }, "downloads": -1, "filename": "django_assertmaxnumqueries-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7d56528745f54b15c08a9fb6705095a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14572, "upload_time": "2017-12-11T04:06:27", "url": "https://files.pythonhosted.org/packages/0c/73/882f39136cc4abe839880ba51360c437d482ed0eca3b1375a834a73cecaa/django_assertmaxnumqueries-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0571f28e179170ee27f43a2742ed6449", "sha256": "324d45ced5a785a5e5fcb03bd0e5e790141ad35c98533b2ab0ad7e99e1428560" }, "downloads": -1, "filename": "django_assertmaxnumqueries-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0571f28e179170ee27f43a2742ed6449", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4568, "upload_time": "2017-12-11T04:06:26", "url": "https://files.pythonhosted.org/packages/54/cf/c9b0e182fb9579e90dd742d347d12a7ae62a7e0679eaf8ad278d05886a2f/django_assertmaxnumqueries-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d56528745f54b15c08a9fb6705095a2", "sha256": "30ce4102b54c4e33498392ab0ac37b558613285126aff1b098db174e3df6bf2b" }, "downloads": -1, "filename": "django_assertmaxnumqueries-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7d56528745f54b15c08a9fb6705095a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14572, "upload_time": "2017-12-11T04:06:27", "url": "https://files.pythonhosted.org/packages/0c/73/882f39136cc4abe839880ba51360c437d482ed0eca3b1375a834a73cecaa/django_assertmaxnumqueries-0.1.2.tar.gz" } ] }