pytest-testinfra
pytest-testinfra copied to clipboard
Testinfra test your infrastructures
This PR, which also contains changes in https://github.com/philpep/testinfra/pull/480 which we needed to get testinfra to work on windows, adds support for Windows files and services, allowing tests to be written...
At the bottom of my ~/.ssh/config, I have this section because my local username doesn't match my most common remote username: Host * User kmccormick When running pytest, any paramiko...
Hi I wish to play 2 backend in same test.py file because i need to run ansible backend for some scripts and paramiko for other ``` # for paramiko def...
Given: * Mac OS 10.15 * coreutils 9.0 (installed via HomeBrew) * testinfra 6.0.0 When using File module methods/properties such as `host.file("/path/to/file").user`, testinfra fails with the following error: ``` Traceback...
Hi I checked but it is not possible to inject a password for sudoers not configured with the NOPASSWD option. So it is impossible for me to use testinfra in...
Hi How To setup or arrange test before , when Arrange test ? Example here. I need To start zookeeper before test kafka ``` def test_zookeeper_service(host): host.run('sudo systemctl start zookeeper')...
## Problem to be solved `testinfra` docker backend should support the [Windows Docker container platform](https://www.docker.com/products/windows-containers) testing in addition to the existing Linux functionality. Currently, only Linux containers can be executed...
My system is Python 3.7.0 running Windows 10 and I receive an error when I try to run anything with run_local on windows (which affects all backends). The stack trace...
Hello, I use pytest/testinfra with ansible module for unitary tests on my linux nodes. The command I use is like : `/usr/local/bin/pytest [... options ...] **--hosts=ansible://group1,ansible://group2**` For example, group2 can...