Files
mscp/test
Ryo Nakamura ff45d9d71b add two env vars to pass password/keyphrase (#9)
MSCP_SSH_AUTH_PASSWORD passes a password, and MSCP_SSH_AUTH_PASSPHRASE
passes a passphrase for publickey auth. They enable avoiding interactive
password input. Test cases are also added.
2024-02-06 10:35:38 +09:00
..
2022-11-01 00:02:34 +09:00
2022-11-05 21:29:26 +09:00

This test assumes that the user executing the test can ssh to the localhost without password.

  • Run pytest through ctest.
python3 -m pip install pytest numpy

cd build
cmake ..
ctest --verbose # or `make test ARGS='-V'`