{ "info": { "author": "Felipe Reyes", "author_email": "freyes@tty.cl", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Internet :: WWW/HTTP :: WSGI :: Server" ], "description": "Selenium WebDriver WSGI\n=======================\n\nA simple library to wrap wsgi apps in an evironment suitable to be unit tested with Selenium WebDriver.\n\n\nInstallation\n------------\n\nThe easiest way to install the code is to use `pip`_.\n\nInstall the newest version from `PyPI`_.::\n\n pip install selwsgi\n\nInstall the latest development version::\n\n pip install git+https://github.com/freyes/selenium-webdriver-wsgi.git#egg=selwsgi\n\nThe other option is to download and uncompress the code manually and execute the\nincluded `setup.py` script for installation::\n\n ./setup.py install\n\n\nExample Usage\n-------------\n\nExample of a simple unittest::\n\n from selwsgi import WebDriverApp\n from nose.tools import assert_true\n from myapp import application\n \n class BaseTestSelenium(object):\n def setUp(self):\n self.app = WebDriverApp(application())\n \n def tearDown(self):\n self.app.close()\n\n def test_index(self):\n res = self.app.get(\"/\")\n assert_true(res.headers[\"Location\"].endswith(\"/account/login?next=%2F\"),\n \"Location ({}) doesn't end with /account/login?next=%2F\".format(res.headers[\"Location\"]))\n\n\nDependencies\n------------\n\n* `WebTest`_\n* `WebOb`_\n\n.. _PyPI: http://pypi.python.org/pypi/rabbitmq-munin\n.. _pip: http://www.pip-installer.org/\n.. _WebTest: https://pypi.python.org/pypi/WebTest\n.. _WebOb: https://pypi.python.org/pypi/WebOb", "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/freyes/selenium-webdriver-wsgi", "keywords": "selenium wsgi webtest unittest", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "selwsgi", "package_url": "https://pypi.org/project/selwsgi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/selwsgi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/freyes/selenium-webdriver-wsgi" }, "release_url": "https://pypi.org/project/selwsgi/0.1/", "requires_dist": null, "requires_python": null, "summary": "A simple library to wrap wsgi apps in an evironment suitable to be unit tested with Selenium WebDriver", "version": "0.1" }, "last_serial": 853272, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "86f9bf99c0f1d31e52a830ecade5be18", "sha256": "223028928b247ae4f7aac5d63df1774a66d1d920e4bc193ee83d9b253eb9d070" }, "downloads": -1, "filename": "selwsgi-0.1.tar.gz", "has_sig": false, "md5_digest": "86f9bf99c0f1d31e52a830ecade5be18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4390, "upload_time": "2013-08-30T18:49:54", "url": "https://files.pythonhosted.org/packages/52/9d/e4c69a2b827826157b8861c58eef846b35f97d5a91d9c1fd17b7bab04787/selwsgi-0.1.tar.gz" } ], "0.1dev": [ { "comment_text": "", "digests": { "md5": "9650abae0ef5dadcb3d60e9def5230b8", "sha256": "bb7ce4a51bc36c83a44c1610626b13d275e3917012a7a44dbcfede7e8f94b2f7" }, "downloads": -1, "filename": "selwsgi-0.1dev.tar.gz", "has_sig": false, "md5_digest": "9650abae0ef5dadcb3d60e9def5230b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3411, "upload_time": "2013-07-12T21:36:57", "url": "https://files.pythonhosted.org/packages/cb/74/4322dbeff194998e300ccd086137fbe23d781579df07c957f434ceabdb5a/selwsgi-0.1dev.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "86f9bf99c0f1d31e52a830ecade5be18", "sha256": "223028928b247ae4f7aac5d63df1774a66d1d920e4bc193ee83d9b253eb9d070" }, "downloads": -1, "filename": "selwsgi-0.1.tar.gz", "has_sig": false, "md5_digest": "86f9bf99c0f1d31e52a830ecade5be18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4390, "upload_time": "2013-08-30T18:49:54", "url": "https://files.pythonhosted.org/packages/52/9d/e4c69a2b827826157b8861c58eef846b35f97d5a91d9c1fd17b7bab04787/selwsgi-0.1.tar.gz" } ] }