{ "info": { "author": "RonnyPfannschmidt", "author_email": "ronny.pfannschmidt@gmx.de", "bugtrack_url": null, "classifiers": [], "description": "pytest-couchdbkit\n=================\n\npytest-couchdbkit is a simple pytest extension that manages test databases\nfor your couchdbkit using apps.\n\nIn order to use it, you only need to set the ini option\n`couchdbkit_suffix` to something fitting your app.\nAdditionally you may use `couchdbkit_backend` to select\nthe gevent/eventlet backends.\n\n\nTo setup couchapps before running the tests,\nthere is the `pytest_couchdbkit_push_app(server, dbname)` hook\n\nIt can be used to create a pristine database,\nwhich is replicated into each test database.\n\n\n\nThe provided funcarg `couchdb` will be a freshly flushed database\nnamed `pytest_` + couchdbkit_suffix,\n\nadditionally, after each test item,\nthe database will be dumped to tmpdir.join(couchdb.dump)\n\nwhich is a simple file having entries in the format::\n\n number(\\d+) + \"\\r\\n\" + number bytes + \"\\r\\n\"\n\nentries are:\n\n* the db info\n* documents\n* raw attachment data following the document\n\nAttachments are ordered by name,\nso they can be reassigned to their metadata on loading.\n\nThe dump format is meant to be human-readable.\n\n\n\nFuture\n------\n\n* fs fixtures (like couchapp)\n* code fixtures\n* dump fixtures\n* comaring a db to sets of defined fixtures\n\nCHANGELOG\n=========\n\nfrom 0.5 to 0.5.1\n-----------------\n\n- fix MANIFEST.in\n\nfrom 0.4 to 0.5\n---------------\n\n- fix breaking testruns that dont actually use it\n- add a lot of tests i should have done before 0.4\n- add support for pytest-xdist,\n if a slave is detected, push_app wont be called,\n and dbname gets the gw id appended\n\nfrom 0.3 to 0.4\n---------------\n\n- add pytest_couchdbkit_push_app hook\n\nfrom 0.2 to 0.3\n---------------\n\n- switch dump format to chunked encoding\n- pretty json in dumps\n- attachments in dumps\n- utility functions for loading dumps back to a database\n\n\nfrom 0.1 to 0.2\n---------------\n\n- use json-lines as extension for the dump\n- condense json to one line per document for humanly acceptable parsinig\n- fail if no couchdbkit_prefix is set\n\n0.1\n---\n\n- initial stuff", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/RonnyPfannschmidt/pytest-couchdbkit", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "pytest-couchdbkit", "package_url": "https://pypi.org/project/pytest-couchdbkit/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytest-couchdbkit/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/RonnyPfannschmidt/pytest-couchdbkit" }, "release_url": "https://pypi.org/project/pytest-couchdbkit/0.5.1/", "requires_dist": null, "requires_python": null, "summary": "py.test extension for per-test couchdb databases using couchdbkit", "version": "0.5.1" }, "last_serial": 762452, "releases": { "0.0.post1-359fbc961cce": [], "0.0.post1-359fbc961cce-20120130": [], "0.1": [ { "comment_text": "", "digests": { "md5": "14d9724d0a1f9f24c3560cf03359824d", "sha256": "f7dc09cc659c29c2435e5504ef9cea96fe1fe4a02b5c2b9a028a71636529ea29" }, "downloads": -1, "filename": "pytest-couchdbkit-0.1.tar.gz", "has_sig": false, "md5_digest": "14d9724d0a1f9f24c3560cf03359824d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 807, "upload_time": "2012-01-30T23:36:45", "url": "https://files.pythonhosted.org/packages/14/7a/4f31c139161fd4f514f28188c828d681cc0fdb71bf5eb960b4a792e39b27/pytest-couchdbkit-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "142ecba89dd4197f8b425637106bd51c", "sha256": "6656113833380e3f6e523ba4a7929de14cfe38c6e8b77726fb73204ae97c996a" }, "downloads": -1, "filename": "pytest-couchdbkit-0.2.tar.gz", "has_sig": false, "md5_digest": "142ecba89dd4197f8b425637106bd51c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 875, "upload_time": "2012-01-31T11:02:29", "url": "https://files.pythonhosted.org/packages/fa/ac/0d6e14f8f863ddaeb878a25a9b2006f5a19d38d24a9b6ee8758d055a356e/pytest-couchdbkit-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "3c507cacbad59d8887bb002696cdbf8f", "sha256": "e57733b53c2eec4b130ad6f1e8bb65bd121250795629530634187285de377155" }, "downloads": -1, "filename": "pytest-couchdbkit-0.3.tar.gz", "has_sig": false, "md5_digest": "3c507cacbad59d8887bb002696cdbf8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3312, "upload_time": "2012-02-22T12:02:56", "url": "https://files.pythonhosted.org/packages/e4/04/b5a06599438d04c08c9b6a0c1e64ff1b1799f25a01e636106981e4a2e474/pytest-couchdbkit-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "0789f87cdd48b4295f35617fa48502bf", "sha256": "e81030cbaf86d12a8cc4153ec2bd79015937dcb014a0d053bdf703bab178811a" }, "downloads": -1, "filename": "pytest-couchdbkit-0.4.tar.gz", "has_sig": false, "md5_digest": "0789f87cdd48b4295f35617fa48502bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3492, "upload_time": "2012-04-15T20:18:46", "url": "https://files.pythonhosted.org/packages/24/60/800b2c94c09053361e272c0f85d4a65b047f87b08ef5e4ec64d72affc056/pytest-couchdbkit-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "e5811dd8b7642d586ca5b4598113df98", "sha256": "acb5d160cfc0233f7322bfcbfae617dfc7401f9806e0d16713b78dd068232e46" }, "downloads": -1, "filename": "pytest-couchdbkit-0.5.tar.gz", "has_sig": false, "md5_digest": "e5811dd8b7642d586ca5b4598113df98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3741, "upload_time": "2012-04-17T19:44:04", "url": "https://files.pythonhosted.org/packages/f2/cb/ed3b9deb348c7749e7b69953ba126a15489f0fdf1b01b542f5ec5297f802/pytest-couchdbkit-0.5.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "df659c60b3e67f00b98fa3d0b0a3ccdc", "sha256": "1d87a52ec347f4f18b5fcceb5d046f8dc92a37be19268ee17ece30ab8934902a" }, "downloads": -1, "filename": "pytest-couchdbkit-0.5.1.tar.gz", "has_sig": false, "md5_digest": "df659c60b3e67f00b98fa3d0b0a3ccdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4833, "upload_time": "2012-04-17T19:49:54", "url": "https://files.pythonhosted.org/packages/a1/b7/0e7b02a3afbd330800a6861b3fbff38d6d3a08bfef69e1a2520cbc4fdf7b/pytest-couchdbkit-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df659c60b3e67f00b98fa3d0b0a3ccdc", "sha256": "1d87a52ec347f4f18b5fcceb5d046f8dc92a37be19268ee17ece30ab8934902a" }, "downloads": -1, "filename": "pytest-couchdbkit-0.5.1.tar.gz", "has_sig": false, "md5_digest": "df659c60b3e67f00b98fa3d0b0a3ccdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4833, "upload_time": "2012-04-17T19:49:54", "url": "https://files.pythonhosted.org/packages/a1/b7/0e7b02a3afbd330800a6861b3fbff38d6d3a08bfef69e1a2520cbc4fdf7b/pytest-couchdbkit-0.5.1.tar.gz" } ] }