-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pytest with fabric example #2275
Comments
As a good practice, the test should be independent of the host, still it's easy to mock this, here's an example:
Connection above will simulate a controled run call. Which from it tests can be done depending on the Result expected results. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to run a pytest on few remote hosts using fabric.
Can you please provide a simple example?
The text was updated successfully, but these errors were encountered: