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

Trying to use ansible connection backend, it seems to fail when ansible_host variable is set to another variable, like so `inventories/host_vars/my_host.yml` ```yaml --- network_interfaces: - name: ens3 address: 10.254.14.18 netmask:...

For reasons I will not bother to mention, testinfra should be a fully typed library. I am aware that this is a big challenge but the good news is that...

Hi, Is there any way to pass the ansible hostpattern to testinfra_hosts? I have dynamic inventory which provides all the hosts from Prod and Dev environments. I'm working with them...

enhancement
question

This adds a support for optional magical function `testinfra_hosts_update` to each module, which allows to filter host list after it was created by `testinfra.get_hosts` before doing an actual test parametrization....

Hi, this is a question regarding windows support. In the documentation it is said that in testinfra v3.0.0 the windows support was improved. That is the only "windows" reference in...

Firstly, apologies if this is not the correct way to do this. I am new to GitHub and haven't contributed to anything before. The code section concerned: https://github.com/pytest-dev/pytest-testinfra/blob/d40f6efff10a24c5f887dfb0caab390ef590e1a4/testinfra/backend/base.py#L208 Since it...

Hello All, I struggle finding more info about the following test case. I got Molecule that runs my playbooks and one of the tasks deployes 50+ files in a dir...

question

When using ssh as a backend and using password for authentication, i get prompted for a password 3x. However when I ssh directly `ssh [email protected]`, there is only 1 prompt....

Since we have some support for windows, we should have tests to ensure not breaking things. Maybe https://www.appveyor.com/ could provide this. Since I'm not a windows expert, any help will...

help wanted
windows

Hello I have a simple test where I print the filename if the file exists. ``` /home/nagios/monitoring-env/bin/pytest -v -s -qq --nagios --tb long --inputfile=test.txt /usr/local/ncpa/plugins/test_myinfra.py input file: test.txt File Found:...