{ "info": { "author": "DISQUS", "author_email": "opensource@disqus.com", "bugtrack_url": null, "classifiers": [], "description": "django-test-helpers\n===================\n\nTest helpers, mostly geared around the database. Tested on Django 1.2.\n\n\nInstall\n-------\n\n::\n\n pip install django-test-helpers\n\nUsage\n-----\n\nCreate a temporary database:\n\n::\n\n from testhelpers.dbmanager import TemporaryDatabase\n\n with TemporaryDatabase(fixtures=['myfixture.json'], db_prefix='test'):\n # do some stuff\n pass\n\n.. note:: If you're using Nashvegas, the TemporaryDatabase will attempt to automatically migrate your database\n and preserve executed migrations.\n\n\nRun some commands in transactional isolation:\n\n::\n\n from testhelpers.dbmanager import Transactionless\n\n with Transactionless(fixtures=['myfixture.json']):\n # do some stuff\n pass\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/disqus/django-test-helpers", "keywords": null, "license": "Apache License 2.0", "maintainer": null, "maintainer_email": null, "name": "django-test-helpers", "package_url": "https://pypi.org/project/django-test-helpers/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-test-helpers/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/disqus/django-test-helpers" }, "release_url": "https://pypi.org/project/django-test-helpers/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.1.0" }, "last_serial": 712744, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b0155cf085a4a18b0a77fcd7d9056174", "sha256": "58f5a2b5c02ee3fddeec5c2f3269c65b659cff2c69ef75ab12c8ae127a2aecd0" }, "downloads": -1, "filename": "django-test-helpers-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b0155cf085a4a18b0a77fcd7d9056174", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4972, "upload_time": "2012-10-23T04:20:08", "url": "https://files.pythonhosted.org/packages/0a/93/52da9ba612ba8247c79a64cf28ba19a468afdd5ac89e9343d5685d33b1ba/django-test-helpers-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b0155cf085a4a18b0a77fcd7d9056174", "sha256": "58f5a2b5c02ee3fddeec5c2f3269c65b659cff2c69ef75ab12c8ae127a2aecd0" }, "downloads": -1, "filename": "django-test-helpers-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b0155cf085a4a18b0a77fcd7d9056174", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4972, "upload_time": "2012-10-23T04:20:08", "url": "https://files.pythonhosted.org/packages/0a/93/52da9ba612ba8247c79a64cf28ba19a468afdd5ac89e9343d5685d33b1ba/django-test-helpers-0.1.0.tar.gz" } ] }