Skip to main content
===============================
PyTest FTP Server
===============================


.. image:: https://img.shields.io/pypi/v/pytest_localftpserver.svg
:target: https://pypi.python.org/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.python.org/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.

Metadata

Release files for pytest-localftpserver 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-localftpserver 0.4.1
File Size Uploaded
pytest_localftpserver-0.4.1.tar.gz 14.2 kB Details

Release files / pytest_localftpserver-0.4.1.tar.gz

Download URL pytest_localftpserver-0.4.1.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
761cf29c7fdb104038a8733421f535ea177089346dffd45396b09d46d102ac6a
BLAKE2b-256 checksum
How to use checksums
646cb7b1d79f72f3c05802070872a5ce03d50e1a3d161384ef7b6b8c666fe816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.0.1

2 release files

1.0.0

1 release file

0.5.1

1 release file

This release

0.4.1 This release

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page