pytest-testinfra
pytest-testinfra copied to clipboard
Test: SMTP AUTH using smtplib
Hello,
Would it be possible to extend the host fixture to support SMTP authentication tests? Presently I am using host.run_test() with a python script in the target host and it is working very well. However this requires to maintain the script in all the hosts where SMTP authentication is performed. This requires maintenance that can be done with ansible but I am wondering if it would be possible to go just with testinfra.
Thanks.