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

When running command with 1+ arguments against a docker host, the command automatically fails with `line 1: syntax error: unterminated quoted string`. The is because the `quote` method in `backend/base.py`...

help wanted
windows

I'm having trouble getting a simple `testinfra` script to execute on a Windows machine. I'm using `testinfra` as a part of a stack using `ansible` and `molecule`, which may or...

bug
help wanted
windows

It seems like tests supplied with testinfra are flaky - sometimes they fail without any apparent reason. I've noticed it both on my local dev box and in Travis CI...

It would be great to have a module which enables smoke tests for http endpoints, probably using `curl` command line tool under the hood. Inspiration for feature set and interface...

enhancement

On Linux, some interfaces don't have a speed attribute, such as `lo` for instance. In that case, `cat /sys/class/net/lo/speed` returns: cat: /sys/class/net/lo/speed: Invalid argument which causes Interface.speed to throw an...

Similar to the concept of the nagios reporter, I'd like to suggest incorporating JSON as an optional output format (e.g. by passing `--json`). This could be used to feed and...

enhancement

Hello, I have a use-case which doesn't quite work in testinfra as it stands. host.run() on a local host eventually calls subprocess.run(). That's great, but I noticed it doesn't pass...

enhancement

This module runs command over salt-master with cmd "salt-run" instead of salt-call

Most of test suites doesn't need fact gathering

Running: ``` >>> d= get_host("salt://*") >>> d.salt("pkg.version", "python-34") ``` Produced ``` RuntimeError: Error while running pkg.version(['python34']): {'minion-salt-689012b2ca3ff805df1d0cff218e18d2d372db887d1158dfd6dec934b9658cf7': '3.4.9-1.el7', 'master-salt-689012b2ca3ff805df1d0cff218e18d2d372db887d1158dfd6dec934b9658cf7': '3.4.9-1.el7'}. Minion not connected ? ```