{ "info": { "author": "Plone Foundation", "author_email": "plone-developers@lists.sourceforge.net", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)" ], "description": ".. contents::\n \n .. Note!\n -----\n Update the following URLs to point to your:\n \n - code repository\n - bug tracker\n - questions/comments feedback mail\n (do not set a real mail, to avoid spams)\n \n Or remove it if not used.\n \n - Code repository: http://svn.somewhere.com/...\n - Questions and comments to somemailing_list\n - Report bugs at http://bug.somewhere.com/..\n \n \n Change history\n **************\n \n Changelog\n =========\n \n 1.0 (xxxx-xx-xx)\n ----------------\n \n - Created recipe with ZopeSkel\n [Plone Foundation]\n \n Detailed Documentation\n **********************\n \n Introduction\n ============\n \n This is a full-blown functional test. The emphasis here is on testing what\n the user may input and see, and the system is largely tested as a black box.\n We use PloneTestCase to set up this test as well, so we have a full Plone site\n to play with. We *can* inspect the state of the portal, e.g. using\n self.portal and self.folder, but it is often frowned upon since you are not\n treating the system as a black box. Also, if you, for example, log in or set\n roles using calls like self.setRoles(), these are not reflected in the test\n browser, which runs as a separate session.\n \n Being a doctest, we can tell a story here.\n \n First, we must perform some setup. We use the testbrowser that is shipped\n with Five, as this provides proper Zope 2 integration. Most of the\n documentation, though, is in the underlying zope.testbrower package.\n \n >>> from Products.Five.testbrowser import Browser\n >>> browser = Browser()\n >>> portal_url = self.portal.absolute_url()\n \n The following is useful when writing and debugging testbrowser tests. It lets\n us see all error messages in the error_log.\n \n >>> self.portal.error_log._ignored_exceptions = ()\n \n With that in place, we can go to the portal front page and log in. We will\n do this using the default user from PloneTestCase:\n \n >>> from Products.PloneTestCase.setup import portal_owner, default_password\n \n >>> browser.open(portal_url)\n \n We have the login portlet, so let's use that.\n \n >>> browser.getControl(name='__ac_name').value = portal_owner\n >>> browser.getControl(name='__ac_password').value = default_password\n >>> browser.getControl(name='submit').click()\n \n Here, we set the value of the fields on the login form and then simulate a\n submit click.\n \n We then test that we are still on the portal front page:\n \n >>> browser.url == portal_url\n True\n \n And we ensure that we get the friendly logged-in message:\n \n >>> \"You are now logged in\" in browser.contents\n True\n \n \n -*- extra stuff goes here -*-\n \n \n Contributors\n ************\n \n Plone Foundation, Author\n \n \n Download\n ********", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://svn.plone.org/svn/plone/plone.example", "keywords": null, "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "jw.tustep", "package_url": "https://pypi.org/project/jw.tustep/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jw.tustep/", "project_urls": { "Homepage": "http://svn.plone.org/svn/plone/plone.example" }, "release_url": "https://pypi.org/project/jw.tustep/1.0/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "1.0" }, "last_serial": 793872, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e156cb1d15b7b35b35977a4ddfbc93f4", "sha256": "ebb141e3bff74f86b8d87a30c88d703c8ecba423cd485f94dd78bf19d11e2be7" }, "downloads": -1, "filename": "jw.tustep-1.01-py2.4.egg", "has_sig": false, "md5_digest": "e156cb1d15b7b35b35977a4ddfbc93f4", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 31503, "upload_time": "2010-07-21T10:00:09", "url": "https://files.pythonhosted.org/packages/b8/31/049c7dbbc32143fbf5ca61c97f038ff94f8e4035734c8c2647c406574fe8/jw.tustep-1.01-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "6aaa60f2271a2e2c0d1d73e02d905f8f", "sha256": "42572b52a94cad5e5ed58a1d4cda34bc4c10a4c50e76592c00e01120e67556c2" }, "downloads": -1, "filename": "jw.tustep-1.02-py2.4.egg", "has_sig": false, "md5_digest": "6aaa60f2271a2e2c0d1d73e02d905f8f", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 32509, "upload_time": "2010-10-26T15:06:14", "url": "https://files.pythonhosted.org/packages/3e/19/764df4aa811f3af5ab5b96b84b3e998212b85c37e567e5bf684e986a3ff9/jw.tustep-1.02-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "1c34dd2197efa92007ced6b0120da63a", "sha256": "418ec39f367bf755afd4e51d52c6e4ee6daa9a4bcbde63dd377f5a24b82dc6ff" }, "downloads": -1, "filename": "jw.tustep-1.03-py2.4.egg", "has_sig": false, "md5_digest": "1c34dd2197efa92007ced6b0120da63a", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 33470, "upload_time": "2011-03-24T16:35:12", "url": "https://files.pythonhosted.org/packages/db/67/c7bd8470bab49b68b92c9db587e8be4e3fadde2fee42b2a0f73a508c9637/jw.tustep-1.03-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "965ab7159c820c7c9957cfceeff1e6c6", "sha256": "8f721efd83ad255789e8771b4194d95d440b637ea517617128b6a0cea641c698" }, "downloads": -1, "filename": "jw.tustep-1.0-py2.4.egg", "has_sig": false, "md5_digest": "965ab7159c820c7c9957cfceeff1e6c6", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 31507, "upload_time": "2010-06-28T12:09:48", "url": "https://files.pythonhosted.org/packages/33/69/8d9b52c8e49bf7322fd3b6d8891d013017693fa0f33583661da5b9b4568f/jw.tustep-1.0-py2.4.egg" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e156cb1d15b7b35b35977a4ddfbc93f4", "sha256": "ebb141e3bff74f86b8d87a30c88d703c8ecba423cd485f94dd78bf19d11e2be7" }, "downloads": -1, "filename": "jw.tustep-1.01-py2.4.egg", "has_sig": false, "md5_digest": "e156cb1d15b7b35b35977a4ddfbc93f4", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 31503, "upload_time": "2010-07-21T10:00:09", "url": "https://files.pythonhosted.org/packages/b8/31/049c7dbbc32143fbf5ca61c97f038ff94f8e4035734c8c2647c406574fe8/jw.tustep-1.01-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "6aaa60f2271a2e2c0d1d73e02d905f8f", "sha256": "42572b52a94cad5e5ed58a1d4cda34bc4c10a4c50e76592c00e01120e67556c2" }, "downloads": -1, "filename": "jw.tustep-1.02-py2.4.egg", "has_sig": false, "md5_digest": "6aaa60f2271a2e2c0d1d73e02d905f8f", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 32509, "upload_time": "2010-10-26T15:06:14", "url": "https://files.pythonhosted.org/packages/3e/19/764df4aa811f3af5ab5b96b84b3e998212b85c37e567e5bf684e986a3ff9/jw.tustep-1.02-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "1c34dd2197efa92007ced6b0120da63a", "sha256": "418ec39f367bf755afd4e51d52c6e4ee6daa9a4bcbde63dd377f5a24b82dc6ff" }, "downloads": -1, "filename": "jw.tustep-1.03-py2.4.egg", "has_sig": false, "md5_digest": "1c34dd2197efa92007ced6b0120da63a", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 33470, "upload_time": "2011-03-24T16:35:12", "url": "https://files.pythonhosted.org/packages/db/67/c7bd8470bab49b68b92c9db587e8be4e3fadde2fee42b2a0f73a508c9637/jw.tustep-1.03-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "965ab7159c820c7c9957cfceeff1e6c6", "sha256": "8f721efd83ad255789e8771b4194d95d440b637ea517617128b6a0cea641c698" }, "downloads": -1, "filename": "jw.tustep-1.0-py2.4.egg", "has_sig": false, "md5_digest": "965ab7159c820c7c9957cfceeff1e6c6", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 31507, "upload_time": "2010-06-28T12:09:48", "url": "https://files.pythonhosted.org/packages/33/69/8d9b52c8e49bf7322fd3b6d8891d013017693fa0f33583661da5b9b4568f/jw.tustep-1.0-py2.4.egg" } ] }