{ "info": { "author": "Oz Tiram", "author_email": "oz.tiram@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Testing :: Mocking" ], "description": "PyTest FTP Server\n=================\n\n\n.. image:: https://img.shields.io/pypi/v/pytest_localftpserver.svg\n :target: https://pypi.org/project/pytest-localftpserver/\n\n.. image:: https://img.shields.io/pypi/pyversions/pytest_localftpserver.svg\n :target: https://pypi.org/project/pytest/\n\n.. image:: https://api.travis-ci.org/oz123/pytest-localftpserver.svg?branch=master\n :target: https://travis-ci.org/oz123/pytest-localftpserver\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/oz123/pytest-localftpserver?svg=true\n :target: https://ci.appveyor.com/project/oz123/pytest-localftpserver/branch/master\n\n.. image:: https://readthedocs.org/projects/pytest-localftpserver/badge/?version=latest\n :target: https://pytest-localftpserver.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/oz123/pytest-localftpserver/shield.svg\n :target: https://pyup.io/repos/github/oz123/pytest-localftpserver/\n :alt: Updates\n\n.. image:: https://coveralls.io/repos/github/oz123/pytest-localftpserver/badge.svg\n :target: https://coveralls.io/github/oz123/pytest-localftpserver\n :alt: Coverage\n\n\nA PyTest plugin which provides an FTP fixture for your tests\n\n\n* Free software: MIT license\n* Documentation: https://pytest-localftpserver.readthedocs.io/en/latest/index.html\n\nAttention!\n==========\n\nAs of version ``1.0.0`` the support for python 2.7 and 3.4 was dropped.\nIf you need to support those versions you should pin the version ``pytest_localftpserver==0.6.0``.\n\n\nUsage Quickstart:\n=================\n\nThis Plugin provides the fixtures ``ftpserver`` and ``ftpserver_TLS``,\nwhich are threaded instances of a FTP server, with which you can upload files and test FTP\nfunctionality. It can be configured using the following environment variables:\n\n===================== =====================================================================\nEnvironment variable Usage\n===================== =====================================================================\n``FTP_USER`` Username of the registered user.\n``FTP_PASS`` Password of the registered user.\n``FTP_PORT`` Port for the normal ftp server to run on.\n``FTP_HOME`` Home folder of the registered user.\n``FTP_FIXTURE_SCOPE`` Scope/lifetime of the fixture.\n``FTP_PORT_TLS`` Port for the TLS ftp server to run on.\n``FTP_HOME_TLS`` Home folder of the registered user, used by the TLS ftp server.\n``FTP_CERTFILE`` Certificate to be used by the TLS ftp server.\n===================== =====================================================================\n\n\nSee the `tests directory `_\nor the\n`documentation `_\nfor examples.\n\nYou can either set environment variables on a system level or use tools such as\n`pytest-env `_ or\n`tox `_, to change the default settings of this plugin.\nSample config for pytest-cov::\n\n $ cat pytest.ini\n [pytest]\n env =\n FTP_USER=benz\n FTP_PASS=erni1\n FTP_HOME = /home/ftp_test\n FTP_PORT=31175\n FTP_FIXTURE_SCOPE=function\n # only affects ftpserver_TLS\n FTP_PORT_TLS = 31176\n FTP_HOME_TLS = /home/ftp_test_TLS\n FTP_CERTFILE = ./tests/test_keycert.pem\n\n\nSample config for Tox::\n\n $ cat tox.ini\n [tox]\n envlist = py{27,34,35,36,37}\n\n [testenv]\n setenv =\n FTP_USER=benz\n FTP_PASS=erni1\n FTP_HOME = {envtmpdir}\n FTP_PORT=31175\n FTP_FIXTURE_SCOPE=function\n # only affects ftpserver_TLS\n FTP_PORT_TLS = 31176\n FTP_HOME_TLS = /home/ftp_test_TLS\n FTP_CERTFILE = {toxinidir}/tests/test_keycert.pem\n commands =\n py.test tests\n\nCredits\n=======\n\nThis package was inspired by, https://pypi.org/project/pytest-localserver/\nmade by Sebastian Rahlf, which lacks an FTP server.\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/cookiecutter/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n\nHistory\n=======\n\n1.0.0 (2019-09-05)\n------------------\n\n* Dropped support for Python 2.7 and 3.4\n\n0.6.0 - released as tag only\n----------------------------\n\n* Added fixture scope configuration.\n* Added ``ftpserver_TLS`` as TLS version of the fixture.\n\n0.5.0 (2018-12-04)\n------------------\n\n* Added support for Windows.\n* Added hightlevel interface.\n\n0.1.0 (2016-12-09)\n------------------\n\n* First release on PyPI.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/oz123/pytest-localftpserver", "keywords": "pytest_localftpserver pytest fixture ftp server local", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pytest-localftpserver", "package_url": "https://pypi.org/project/pytest-localftpserver/", "platform": "", "project_url": "https://pypi.org/project/pytest-localftpserver/", "project_urls": { "Homepage": "https://github.com/oz123/pytest-localftpserver" }, "release_url": "https://pypi.org/project/pytest-localftpserver/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "A PyTest plugin which provides an FTP fixture for your tests", "version": "1.0.0" }, "last_serial": 5785901, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "21358361bc34917d666c5386b19dda53", "sha256": "f64a508f76f36faff0fe8e28322577eb6cab224f0e64289843f498e191170eab" }, "downloads": -1, "filename": "pytest_localftpserver-0.1.0.tar.gz", "has_sig": false, "md5_digest": "21358361bc34917d666c5386b19dda53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13744, "upload_time": "2016-12-10T21:48:18", "url": "https://files.pythonhosted.org/packages/f3/18/5b098d042eff18f31cff3a94956624755355a3b5c624fea2880f7fd625e7/pytest_localftpserver-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2c62932d094540d94aebcb7086a9b1a2", "sha256": "a93bea6a8f7f9bbf209fddc6159cd184301480e3abc045c350a85b921df2ab19" }, "downloads": -1, "filename": "pytest_localftpserver-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2c62932d094540d94aebcb7086a9b1a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13759, "upload_time": "2016-12-10T22:08:04", "url": "https://files.pythonhosted.org/packages/4d/10/76ade2c53e4afce060c1bcf98f0d90f4c530d11e7cc461ddd02298308820/pytest_localftpserver-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "64b383d5514e9a2e423e07e436b7333b", "sha256": "aa72e941ca57f81f4926655ad46c317a9878c300b91eaa5974f367aebd9add37" }, "downloads": -1, "filename": "pytest_localftpserver-0.2.0.tar.gz", "has_sig": false, "md5_digest": "64b383d5514e9a2e423e07e436b7333b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14628, "upload_time": "2016-12-19T19:58:38", "url": "https://files.pythonhosted.org/packages/eb/0b/32ad8bb57daf10cc27cb52039f032e59d1429c188091c1f08dd79cb84750/pytest_localftpserver-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "a5689e5e1b613f3a9baa751882df5f1a", "sha256": "42d100770c1da1f201acbd34f11efdb8ea51870f2f4db7ef0373459eae142df2" }, "downloads": -1, "filename": "pytest_localftpserver-0.3.0.tar.gz", "has_sig": false, "md5_digest": "a5689e5e1b613f3a9baa751882df5f1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14765, "upload_time": "2016-12-19T20:43:45", "url": "https://files.pythonhosted.org/packages/06/c7/b6ae6c8ea96e83556ce755d737dc1a8e4ccb529361aac4aaa1ca8764e29b/pytest_localftpserver-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "115936a3dcba4888b0c825b05da1d367", "sha256": "70fb74ddf4412b1824a5d3c40e4ad5bd38f603a4945280f83cd3187a7e023631" }, "downloads": -1, "filename": "pytest_localftpserver-0.3.1.tar.gz", "has_sig": false, "md5_digest": "115936a3dcba4888b0c825b05da1d367", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14756, "upload_time": "2016-12-19T21:42:49", "url": "https://files.pythonhosted.org/packages/78/f4/554cfc7a05236728674e782910e1f5b1fa374dabbea580f7f1d94e94f62c/pytest_localftpserver-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "6a09c28ad010f97a907855f3eecbcd57", "sha256": "3b446225d88eeb8fa64720bd895e1245a50c9b3c4594e88d3899e7370abbf107" }, "downloads": -1, "filename": "pytest_localftpserver-0.4.0.tar.gz", "has_sig": false, "md5_digest": "6a09c28ad010f97a907855f3eecbcd57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14158, "upload_time": "2016-12-20T00:34:29", "url": "https://files.pythonhosted.org/packages/a2/9a/db7ad1ae36bc2dbc614ab7b63e417e3bbf81c718a186085ba4ff92927d85/pytest_localftpserver-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "40d949e0b0ff4f909b01b596e2241f5a", "sha256": "761cf29c7fdb104038a8733421f535ea177089346dffd45396b09d46d102ac6a" }, "downloads": -1, "filename": "pytest_localftpserver-0.4.1.tar.gz", "has_sig": false, "md5_digest": "40d949e0b0ff4f909b01b596e2241f5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14186, "upload_time": "2016-12-20T00:45:03", "url": "https://files.pythonhosted.org/packages/64/6c/b7b1d79f72f3c05802070872a5ce03d50e1a3d161384ef7b6b8c666fe816/pytest_localftpserver-0.4.1.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "880f70dcba3c4b67026d30ccccd8c3da", "sha256": "7d98cfb9d2173064b628d66cd627df52337c2ea3263f03c31b13ee0c9bed585a" }, "downloads": -1, "filename": "pytest_localftpserver-0.5.1.tar.gz", "has_sig": false, "md5_digest": "880f70dcba3c4b67026d30ccccd8c3da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34436, "upload_time": "2018-12-04T04:31:02", "url": "https://files.pythonhosted.org/packages/4c/0c/f38f95b8ec6a1d475c10d837961ad31784ea696efea2184b6559d32e2d34/pytest_localftpserver-0.5.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "99ef14e39b53cd64b680509120758cf9", "sha256": "04cce7dc2b0a05c3d364e86d9e38e255b478d24376e3f651b1af83bb957c3fc3" }, "downloads": -1, "filename": "pytest_localftpserver-1.0.0.tar.gz", "has_sig": false, "md5_digest": "99ef14e39b53cd64b680509120758cf9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35012, "upload_time": "2019-09-05T11:00:14", "url": "https://files.pythonhosted.org/packages/b8/1a/dc9ee8ab493fd2b979dd4a8f971707c3eb4009193875a02e5c5a7e119963/pytest_localftpserver-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "99ef14e39b53cd64b680509120758cf9", "sha256": "04cce7dc2b0a05c3d364e86d9e38e255b478d24376e3f651b1af83bb957c3fc3" }, "downloads": -1, "filename": "pytest_localftpserver-1.0.0.tar.gz", "has_sig": false, "md5_digest": "99ef14e39b53cd64b680509120758cf9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35012, "upload_time": "2019-09-05T11:00:14", "url": "https://files.pythonhosted.org/packages/b8/1a/dc9ee8ab493fd2b979dd4a8f971707c3eb4009193875a02e5c5a7e119963/pytest_localftpserver-1.0.0.tar.gz" } ] }