{ "info": { "author": "Richard Mitchell", "author_email": "richard.mitchell@isotoma.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Plone", "Framework :: Zope2", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Testing" ], "description": "Provides simple classes to be used for unit testing PythonScript and\r\nFSPythonScripts from Zope / Plone.\r\n\r\nUses the bare minimum of setup code and does not require Zope or\r\nPlone to run.\r\n\r\nExample usage\r\n~~~~~~~~~~~~~\r\n::\r\n \r\n >>> from isotoma.zope.testpythonscript import PythonScript\r\n >>> my_script = \"\"\"## Script to output stuff given to it\r\n ... ##bind container=container\r\n ... ##bind context=context\r\n ... ##bind namespace=namespace\r\n ... ##bind script=script\r\n ... ##bind state=state\r\n ... ##bind traverse_subpath=traverse_subpath\r\n ... ##parameters=name=None\r\n ... ##title=\r\n ... ##\r\n ... return 'Hello world! Hello %s!' % name\r\n ... \"\"\"\r\n >>> py_script = PythonScript(my_script, 'my_script')\r\n >>> py_script(name='Foo')\r\n 'Hello world! Hello Foo'\r\n >>>\r\n\r\nSee the documentation of isotoma.zope.testpythonscript.script for full\r\ndetails of the class and of FSPythonScript.\r\n\r\nSee isotoma.zope.testpythonscript.tests.test_script for more examples.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.isotoma.com/", "keywords": "zope, plone, skins, pythonscript, fspythonscript, python, script, test, unit test, mock", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "isotoma.zope.testpythonscript", "package_url": "https://pypi.org/project/isotoma.zope.testpythonscript/", "platform": "", "project_url": "https://pypi.org/project/isotoma.zope.testpythonscript/", "project_urls": { "Homepage": "http://www.isotoma.com/" }, "release_url": "https://pypi.org/project/isotoma.zope.testpythonscript/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Provides simple classes to be used for unit testing PythonScript and FSPythonScripts from Zope / Plone.", "version": "1.0.0" }, "last_serial": 793498, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0b3bbd235215e197014cfb2997c1b543", "sha256": "7180ee40b69ec1452cda69d95ef4e7278e0d5fad67867bb06aa85792ce533196" }, "downloads": -1, "filename": "isotoma.zope.testpythonscript-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0b3bbd235215e197014cfb2997c1b543", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4729, "upload_time": "2011-01-27T23:34:38", "url": "https://files.pythonhosted.org/packages/be/1a/00ccf94b2c29fc4a28475871043fc8894355e1365772daf5a4e38ef02052/isotoma.zope.testpythonscript-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0b3bbd235215e197014cfb2997c1b543", "sha256": "7180ee40b69ec1452cda69d95ef4e7278e0d5fad67867bb06aa85792ce533196" }, "downloads": -1, "filename": "isotoma.zope.testpythonscript-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0b3bbd235215e197014cfb2997c1b543", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4729, "upload_time": "2011-01-27T23:34:38", "url": "https://files.pythonhosted.org/packages/be/1a/00ccf94b2c29fc4a28475871043fc8894355e1365772daf5a4e38ef02052/isotoma.zope.testpythonscript-1.0.0.tar.gz" } ] }