scitacean.testing.sftp.fixtures.sftp_base_dir#

scitacean.testing.sftp.fixtures.sftp_base_dir(request, tmp_path_factory)[source]#

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

Returns:

Path | None – A path to a directory on the host machine. The directory gets populated by the scitacean.testing.sftp.fixtures.sftp_fileserver() fixture. It contains the docker configuration and volumes.

Returns None if SFTP tests are disabled