A PyTest plugin which provides an FTP fixture for your tests
Project description
===============================
PyTest FTP Server
===============================
.. image:: https://img.shields.io/pypi/v/pytest_localftpserver.svg
:target: https://pypi-hypernode.com/pypi/pytest_localftpserver
.. image:: https://img.shields.io/travis/oz123/pytest_localftpserver.svg
:target: https://travis-ci.org/oz123/pytest_localftpserver
.. image:: https://readthedocs.org/projects/pytest-ftp-server/badge/?version=latest
:target: https://pytest-ftp-server.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/oz123/pytest_localftpserver/shield.svg
:target: https://pyup.io/repos/github/oz123/pytest_localftpserver/
:alt: Updates
A PyTest plugin which provides an FTP fixture for your tests
* Free software: MIT license
* Documentation: https://pytest-ftp-server.readthedocs.io.
Usage:
------
``ftpserver``
provides a threaded FTP server where you can upload files and test FTP
functionality. It has the following attributes:
* ``ftp_port`` - the server port as integer
* ``anon_root`` - the root of anonymous user
* ``ftp_home`` - the root of authenticated user
See the tests directory for examples.
You need pytest-env to use this plugin. Sample config:
```
$ cat pytest.ini
[pytest]
env =
FTP_PORT=31175
FTP_USER=benz
FTP_PASS=erni1
```
Credits
---------
This package was inspired by, https://pypi-hypernode.com/pypi/pytest-localserver/
made by Sebastian Rahlf, which lacks an FTP server.
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2016-12-09)
------------------
* First release on PyPI.
PyTest FTP Server
===============================
.. image:: https://img.shields.io/pypi/v/pytest_localftpserver.svg
:target: https://pypi-hypernode.com/pypi/pytest_localftpserver
.. image:: https://img.shields.io/travis/oz123/pytest_localftpserver.svg
:target: https://travis-ci.org/oz123/pytest_localftpserver
.. image:: https://readthedocs.org/projects/pytest-ftp-server/badge/?version=latest
:target: https://pytest-ftp-server.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/oz123/pytest_localftpserver/shield.svg
:target: https://pyup.io/repos/github/oz123/pytest_localftpserver/
:alt: Updates
A PyTest plugin which provides an FTP fixture for your tests
* Free software: MIT license
* Documentation: https://pytest-ftp-server.readthedocs.io.
Usage:
------
``ftpserver``
provides a threaded FTP server where you can upload files and test FTP
functionality. It has the following attributes:
* ``ftp_port`` - the server port as integer
* ``anon_root`` - the root of anonymous user
* ``ftp_home`` - the root of authenticated user
See the tests directory for examples.
You need pytest-env to use this plugin. Sample config:
```
$ cat pytest.ini
[pytest]
env =
FTP_PORT=31175
FTP_USER=benz
FTP_PASS=erni1
```
Credits
---------
This package was inspired by, https://pypi-hypernode.com/pypi/pytest-localserver/
made by Sebastian Rahlf, which lacks an FTP server.
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2016-12-09)
------------------
* First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pytest_localftpserver-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b446225d88eeb8fa64720bd895e1245a50c9b3c4594e88d3899e7370abbf107 |
|
MD5 | 6a09c28ad010f97a907855f3eecbcd57 |
|
BLAKE2b-256 | a29adb7ad1ae36bc2dbc614ab7b63e417e3bbf81c718a186085ba4ff92927d85 |