pytest-testinfra icon indicating copy to clipboard operation
pytest-testinfra copied to clipboard

Testinfra test your infrastructures

Results 164 pytest-testinfra issues
Sort by recently updated
recently updated
newest added

Hello folks, I'm looking for a way to use junit output for the testinfra tests called by molecule. I know pytest can use --junit xml, I know that you can...

see #653 ---- When i wants to use ansible backend on windows host, i have a problem with ascii decode Use ansible.windows.win_service_info to retrieve all services ```python def test_services(host): res...

When i wants to use ansible backend on windows host, i have a problem with ascii decode Use `ansible.windows.win_service_info` to retrieve all services ```python def test_services(host): res = host.ansible( "ansible.windows.win_service_info",...

Hey there, I would like to pass `--ssh-extra-args="-oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null"` but, that's ignored. What is the intended way of passing extra args to the ssh backend via cli? Cheers

Looks like it expects the interface name to be at the end of `ip route ls` line. So it works for something like: `default via 172.17.0.1 dev eth0` but not...

bug

CHANGELOG.rst does not include release dates, nor does the changelog rendered on Read the Docs. This is a minor issue. I find release dates helpful when reviewing changelogs, especially when...

I wonder if that would be useful to add a "docker-image" backend. This backend would test images instead of containers. For example: ``` testinfra_hosts = ['docker-image://python:2.7'] def test_version(host): asser host.check_output('python...

enhancement

Hi, is there a way to use the service module with systemd services running on a non-privileged user? Just using `sudo` doesn't seems to work: ``` with host.sudo(user="renovate"): service =...