scitacean.testing.sftp.fixtures#

Pytest fixtures to manage and access a local SFTP server.

Functions

require_sftp_fileserver(request, sftp_fileserver)

Fixture to declare that a test needs a local SFTP server.

sftp_access(request)

Fixture that returns SFTP access parameters.

sftp_base_dir(request, tmp_path_factory)

Fixture that returns the base working directory for the SFTP server setup.

sftp_connect_with_username_password(sftp_access)

Fixture that returns a function to connect to the testing SFTP server.

sftp_data_dir(sftp_base_dir)

Fixture that returns the data directory for the SFTP server setup.

sftp_fileserver(request, sftp_access, ...)

Fixture to declare that a test needs a local SFTP server.