pytest-testinfra
pytest-testinfra copied to clipboard
Testinfra test your infrastructures
I'd be nice to create custom backend just by giving a path to a script that will actually run commands. ``testinfra -c script:///path/to/mybackend --hosts hostspec`` This would provide a way...
While trying to use the kitchen example https://testinfra.readthedocs.io/en/latest/examples.html#integration-with-kitchenci I get a weird gss-api traceback ``` kitchen verify -----> Starting Kitchen (v2.3.3) -----> Verifying ... [Shell] Verify on instance default-debian-buster64 with...
If package `nmap-ncat` from default repo `centos-base` is present command `nc -w 1 -z` will not work due to absence of `-z` flag in version 6.40 and method `is_reachable` for...
I just looked through the code and noticed that `**kwargs` are passed to every backend, but not used anywhere. Any particular reason why they are there? https://github.com/philpep/testinfra/blob/672a06442fec1b989bfdf7194257d3f86912305a/testinfra/host.py#L48
Hi After searching quickly in the issues, I see no mention of checking cron job, hence this feature request. Here's my use case : I'm testing Ansible Roles via Molecule...
fix issue #458
`docker run -d -P --privileged philpep/testinfra:debian_stretch` failes with: ``` 12d74da67b02890be741505e3e96df26475be943bfb1f965e1b2b671f9606b24 docker: Error response from daemon: driver failed programming external connectivity on endpoint wonderful_haibt (2577ec1a033f233c76f7a3066b60ae2ed63d24662691fa115506104c2f3f45d8): (COMMAND_FAILED: '/usr/sbin/iptables -w2 -t nat -A...
The OpenDev project is setup to run some of it's CI jobs against pull requests to this repo. This deploys several nodes, runs configuration roles on them using Ansible from...
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...
I have testinfra 3.0.5, molecule 2.20.2, anisble 2.8.3. When I run tests, they seem to work only with python 2.7.15.. Otherwise I get this error: ` host = def test_boto3_is_installed(host):...