scitacean.testing.sftp.fixtures.sftp_data_dir#

scitacean.testing.sftp.fixtures.sftp_data_dir(sftp_base_dir)[source]#

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

Returns:

Path | None – A path to a directory on the host machine. The directory is mounted as /data on the server.

Returns None if SFTP tests are disabled