{ "info": { "author": "Marc Abramowitz", "author_email": "marc@marc-abramowitz.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Testing" ], "description": "djangotestxmlrpc\n=======================================\n\n.. image:: https://secure.travis-ci.org/msabramo/djangotestxmlrpc.png?branch=master\n :target: http://travis-ci.org/msabramo/djangotestxmlrpc\n\nTest Django `XML-RPC `_ views using the `Django test\nclient\n`_.\nBecause you're using the Django test client, you're not actually sending HTTP\nrequests and don't need a server running.\n\nThis is a slightly modified version of code taken from `this blog post\n`_\nfrom Forest Bond.\n\n\nExample usage:\n\n.. code-block:: python\n\n from djangotestxmlrpc import DjangoTestClientXMLRPCTransport\n\n class TestXmlRpc(django.test.TestCase):\n ...\n\n def test_list_package(self):\n pypi = xmlrpclib.ServerProxy(\n \"http://localhost/pypi/\",\n transport=DjangoTestClientXMLRPCTransport(self.client))\n pypi_hits = pypi.list_packages()\n expected = ['foo']\n self.assertEqual(pypi_hits, expected)\n\n\nSupported Python versions\n-------------------------\n\n- Python 2.5\n- Python 2.6\n- Python 2.7\n- PyPy 1.9\n- Python 3.1\n- Python 3.2\n- Python 3.3\n\nor says `tox `_::\n\n ~/dev/git-repos/djangotestxmlrpc$ tox\n ...\n py25: commands succeeded\n py26: commands succeeded\n py27: commands succeeded\n pypy: commands succeeded\n py31: commands succeeded\n py32: commands succeeded\n py33: commands succeeded\n congratulations :)\n\nYou also can check the `latest Travis CI results\n`_, but\nTravis doesn't build all of the above platforms.\n\n\nIssues\n------\n\nSend your bug reports and feature requests to https://github.com/msabramo/djangotestxmlrpc/issues", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/msabramo/djangotestxmlrpc", "keywords": "unittest,testing,Django,XML-RPC", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "djangotestxmlrpc", "package_url": "https://pypi.org/project/djangotestxmlrpc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/djangotestxmlrpc/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/msabramo/djangotestxmlrpc" }, "release_url": "https://pypi.org/project/djangotestxmlrpc/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Utility classes for testing Django views that speak XML-RPC", "version": "0.0.2" }, "last_serial": 809852, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "494cee399ce6cc8b2f3ed04a3caeb9d3", "sha256": "22447469ffab8664e204538ee9f59d1c780d408bdc978d07d7973d23d06994b3" }, "downloads": -1, "filename": "djangotestxmlrpc-0.0.0.tar.gz", "has_sig": false, "md5_digest": "494cee399ce6cc8b2f3ed04a3caeb9d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2619, "upload_time": "2012-09-30T18:00:22", "url": "https://files.pythonhosted.org/packages/93/1d/000c4496220bdb9397c8ca67bef0fd075d84dd9b6f63e3b4c3b14b477930/djangotestxmlrpc-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "ea9bf3e1425fe76013cdda2a2cc56a22", "sha256": "aef1978ac54d4691f3ec9b7cb086bf99ad3282c42ba81ef77cb6c641fec270c7" }, "downloads": -1, "filename": "djangotestxmlrpc-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ea9bf3e1425fe76013cdda2a2cc56a22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2678, "upload_time": "2012-09-30T18:13:24", "url": "https://files.pythonhosted.org/packages/24/fc/b1e0128ed178ff7a28a07236a354ec3b612b002a962c225fdd35725052a8/djangotestxmlrpc-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "c0fb9b6935f88547c91aeeaf9fe3c5a0", "sha256": "98f46c090a0762e84f05e7eaf84c2699d59ed7f50dfac2abebd19124aba5835b" }, "downloads": -1, "filename": "djangotestxmlrpc-0.0.2.tar.gz", "has_sig": false, "md5_digest": "c0fb9b6935f88547c91aeeaf9fe3c5a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2799, "upload_time": "2013-07-06T19:19:45", "url": "https://files.pythonhosted.org/packages/fb/cf/d351d4a576513ba6fae63a5e471d9302abd6a5df6719abe9f8e85910a00b/djangotestxmlrpc-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c0fb9b6935f88547c91aeeaf9fe3c5a0", "sha256": "98f46c090a0762e84f05e7eaf84c2699d59ed7f50dfac2abebd19124aba5835b" }, "downloads": -1, "filename": "djangotestxmlrpc-0.0.2.tar.gz", "has_sig": false, "md5_digest": "c0fb9b6935f88547c91aeeaf9fe3c5a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2799, "upload_time": "2013-07-06T19:19:45", "url": "https://files.pythonhosted.org/packages/fb/cf/d351d4a576513ba6fae63a5e471d9302abd6a5df6719abe9f8e85910a00b/djangotestxmlrpc-0.0.2.tar.gz" } ] }