A PyTest plugin that provides an FTP fixture (localftpserver) for your tests, enabling you to spin up a real FTP server during testing. Version 1.5.0 is the latest release; the project is in maintenance mode with infrequent updates.
pip install pytest-localftpserverVerified import paths — ran on the pinned version, not inferred.
A minimal test using the localftpserver fixture. The fixture starts an FTP server on a random port; the session() context manager gives you a connected FTP client.
Use the default configuration or set the port via pytest options.
Consider using alternative solutions like pyftpdlib directly or pytest-docker for FTP testing.
Always use the session() context manager or manually close the FTP client.
No dependency data recorded yet.