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

This changeset introduces a new module, called `iproute2`, based on the `Interface` module, that enables testing of different network parameters through the use of different iproute2 tools, such as the...

enhancement

Hi! Thank you for sharing this great package!! I just had to change the transport variable to get it to work on our windows test machines, this patch allows setting...

enhancement
windows

On a system with some systemd issues, the outcome of `host.service('myservice').is_valid` is always `False`, even if my service is actually good. On further investigation the original pull request to add...

Would it make sense to add an optional `timeout` argument to host.run? In run_local it could be passed to `p.communicate()` and I imagine the other backends would have similar way...

enhancement

Hello, After updating to release v9.0.0, we've noticed a regression. When the "~/.ansible/cp" path is missing, tests seem to fail with the following error: ``` self = command = 'uname...

Software comparison does not work due to lexicographic order. Because of this, the Python statement `assert 4.14.0 >= 10.14.0` is `True`, instead of `False`. For example, let's test if the...

Hi, I'm trying to run TestInfra from Ansible Tower on remote hosts. However, every solution I've explored requires creating an Ansible Playbook that will be used to set up the...

Hi, I use parameterized tests like these: ``` @pytest.mark.parametrize('parameter', parametermap) def test_salt_state_apply(host, parameter): ``` Right now, the tests run each parameter per host: ``` host0-parameter0 host0-parameter1 host1-parameter0 host1-parameter1 ``` Is...

question

I have few hundred small GCP, Azure servers. I want to run some basic tests against them. Is there a way to parallelize my tests? Each test test less than...

question

We need some functionality to query all user names as well as all group names. I implemented in two functions: * query all (local and remove) users and groups with...

enhancement