{ "info": { "author": "Colm O'Connor", "author_email": "colm.oconnor.github@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: Django", "Framework :: Django :: 1.8", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: Unix", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "HitchDjango\n===========\n\nHitchDjango is a plugin for the Hitch test framework that lets you run and\ninteract with Django as part of a test.\n\nWhen the plugin starts Django, *before* running runserver, it will:\n\n* Check the version and fail if it is different to what is specified.\n* Run migrations (using manage.py migrate).\n* Get the URL using localhost + the specified port and put it in sites.site.\n* Install all specified Django fixtures.\n\nCurrently HitchDjango runs only on Django 1.8 and above. Please raise a ticket\nif you need an earlier version.\n\nUse with Hitch\n==============\n\nInstall like so::\n\n $ hitch install hitchdjango\n\n\n.. code-block:: python\n\n # Service definition in engine's setUp:\n self.services['Django'] = hitchdjango.DjangoService(\n version=\"1.8\", # Mandatory\n python=\"{}/venv/bin/python\".format(PROJECT_DIRECTORY), # Mandatory\n managepy=None, # Optional full path to manage.py (default: None, assumes in project directory)\n django_fixtures=['fixture1.json',], # Optional (default: None)\n port=18080, # Optional (default: 18080)\n settings=\"remindme.settings\", # Optional (default: settings)\n needs=[self.services['Postgres'], ] # Optional (default: no prerequisites)\n )\n\n\n # Interact during the test:\n >>> self.services['Django'].manage(\"help\").run()\n [ Prints help ]\n\n >>> self.services['Django'].url()\n http://127.0.0.1:18080/\n\n >>> self.services['Django'].savefixture(\"fixtures/database_current_state.json\").run()\n [ Saves fixture ]\n\n\nSee this service in action at the DjangoRemindMe_ project.\n\n\n.. _HitchServe: https://github.com/hitchtest/hitchserve\n.. _DjangoRemindMe: https://github.com/hitchtest/django-remindme", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://hitch.readthedocs.org/", "keywords": "hitch testing framework bdd tdd declarative tests testing service django", "license": "AGPL", "maintainer": null, "maintainer_email": null, "name": "hitchdjango", "package_url": "https://pypi.org/project/hitchdjango/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hitchdjango/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://hitch.readthedocs.org/" }, "release_url": "https://pypi.org/project/hitchdjango/0.2/", "requires_dist": null, "requires_python": null, "summary": "Plugin to run Django with the Hitch testing framework.", "version": "0.2" }, "last_serial": 1600592, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1eb211e4542984f394b21f0553e49977", "sha256": "552d934af8e1cfd578b9b40561402c3551986939b5230bfe4f2a7880727f070e" }, "downloads": -1, "filename": "hitchdjango-0.1.tar.gz", "has_sig": false, "md5_digest": "1eb211e4542984f394b21f0553e49977", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3931, "upload_time": "2015-06-07T05:48:24", "url": "https://files.pythonhosted.org/packages/a7/88/0553f2b3cf9f67aa359993c924fd55d3e5f075b4236c924cb4a16541af25/hitchdjango-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "cda75b8ff37f0c418ac853cfbd74dbf4", "sha256": "189d8cfa4f335d564840ea6c403dbb76c90c6e975c127c357586fd85ee34801b" }, "downloads": -1, "filename": "hitchdjango-0.2.tar.gz", "has_sig": false, "md5_digest": "cda75b8ff37f0c418ac853cfbd74dbf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3978, "upload_time": "2015-06-21T06:01:51", "url": "https://files.pythonhosted.org/packages/a0/f8/b44bac68aaf6d17c9df6d4a4b13ad9953695c47ff98071213c8f17c26148/hitchdjango-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cda75b8ff37f0c418ac853cfbd74dbf4", "sha256": "189d8cfa4f335d564840ea6c403dbb76c90c6e975c127c357586fd85ee34801b" }, "downloads": -1, "filename": "hitchdjango-0.2.tar.gz", "has_sig": false, "md5_digest": "cda75b8ff37f0c418ac853cfbd74dbf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3978, "upload_time": "2015-06-21T06:01:51", "url": "https://files.pythonhosted.org/packages/a0/f8/b44bac68aaf6d17c9df6d4a4b13ad9953695c47ff98071213c8f17c26148/hitchdjango-0.2.tar.gz" } ] }