{ "info": { "author": "Andy McKay", "author_email": "andym@mozilla.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent" ], "description": "An experimental nose plugin to block access to external services that you\nreally should not be accessing in your unit tests.\n\nTo use::\n\n pip install nose-blockage\n\nThen add the following to your tests::\n\n --with-blockage\n\nBlocking HTTP\n-------------\n\nBy default it whitelists `localhost` and `127.0.0.1`. To change the whitelist::\n\n --http-whitelist=some.site,some.other.site\n\nIf the code hits a http connection then instead of completing it will raise a\nMockHTTPCall exception. Please go and mock your tests appropriately.\n\nBlocking SMTP\n-------------\n\nBy default it whitelists no domains. To change the whitelist::\n\n --smtp-whitelist=some.site\n\nIt will raise a MockSMTPCall exception.", "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/andymckay/nose-blockage", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "nose-blockage", "package_url": "https://pypi.org/project/nose-blockage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nose-blockage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/andymckay/nose-blockage" }, "release_url": "https://pypi.org/project/nose-blockage/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Raise errors when communicating outside of tests", "version": "0.1.2" }, "last_serial": 795496, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2be3fbc511790c7ad3ba84bc0d123f37", "sha256": "78c43a9e1d48fb839df7b7d7ea581848310bbf29a321ffb68de34aa3d886ff6a" }, "downloads": -1, "filename": "nose-blockage-0.1.tar.gz", "has_sig": false, "md5_digest": "2be3fbc511790c7ad3ba84bc0d123f37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2103, "upload_time": "2012-11-14T05:30:07", "url": "https://files.pythonhosted.org/packages/29/bd/acf928bf9666a4f48f9a8150c59d0167256e595cf51f97ba0b34f52fb220/nose-blockage-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4778a5eb4dc58ae71cc89f2cd0f9a5d7", "sha256": "6dde170746f125762d737dcade0b7e12154d20f78f56a07362209a750c55c5a6" }, "downloads": -1, "filename": "nose-blockage-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4778a5eb4dc58ae71cc89f2cd0f9a5d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2330, "upload_time": "2012-11-14T05:35:47", "url": "https://files.pythonhosted.org/packages/b1/69/899312851d41ab36ddb1239e489034d3eb335dd65569f1c56146b9a82938/nose-blockage-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "0f36b830c350781d8aab74bd24cfc5d1", "sha256": "7345d9396b3f3c0a658c5cb7dbc799c3a96afa48299d96d9781eaba6bab0b7b0" }, "downloads": -1, "filename": "nose-blockage-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0f36b830c350781d8aab74bd24cfc5d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2754, "upload_time": "2012-11-16T20:54:57", "url": "https://files.pythonhosted.org/packages/14/a5/51ffffed295f34a9c3cb9eb3d99ffb226e84929bbd86c1d92fdc8a599182/nose-blockage-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0f36b830c350781d8aab74bd24cfc5d1", "sha256": "7345d9396b3f3c0a658c5cb7dbc799c3a96afa48299d96d9781eaba6bab0b7b0" }, "downloads": -1, "filename": "nose-blockage-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0f36b830c350781d8aab74bd24cfc5d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2754, "upload_time": "2012-11-16T20:54:57", "url": "https://files.pythonhosted.org/packages/14/a5/51ffffed295f34a9c3cb9eb3d99ffb226e84929bbd86c1d92fdc8a599182/nose-blockage-0.1.2.tar.gz" } ] }