pytest-testinfra
pytest-testinfra copied to clipboard
Testinfra test your infrastructures
I'm wondering if anyone would benefit from from having a new test module for testing timezones for the systems under test? Scenario --------- I built some new CentOS 7 machines...
Writing tests against SLES11 which uses SysV Init I found two issues with the service module: is_enabled fails because the service files are in a different directory (/etc/init.d/rc?.d/ instead of...
Kubernetes and OpenShift are becoming widespread infrastructures. Use existing python clients https://github.com/kubernetes-client/python to expose the API.
I think it would be really nice to have the ability to use osquery as a resource. This could add a lot of features to testinfra.
testinfra 1.14.1 ansible 2.6.3 (really any version) It seems that if a host is unreachable with the `ansible` backend, you might get a traceback like: ``` =================================== FAILURES=================================== test_apt_transport_https_is_installed[ansible://molecule-test-bionic] host...
Hi, I'm finding differences running my molecules tests on Travis since the latest version of testinfra. My tests passed in 1.12, but now they are failing in 1.14. I'm sure...
Are there any plans to extend the [Package Class](http://testinfra.readthedocs.io/en/latest/modules.html#testinfra.modules.package.Package) to support the discovery of `snap` packages? Or add the ability to work with `snap` anywhere? As an example... The [amazon-ssm-agent](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-manual-agent-install.html#agent-install-ubuntu)...
Example: ```python with host.run('journalctl', background=True) as p: host.run('logger foo') assert 'foo' in p.stdout ``` Where `journalctl` would run and stop after the context manager exit.
1. Detect interface connected state of a network cable/connector or not 2. Get MTU on the interface 3. Add python docstring into interface class Signed-off-by: Phil Huang
## Ansible version ``` ansible 2.5.0 executable location = /home/fdhaussy/.virtualenvs/ansible/bin/ansible python version = 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] ``` ## Testinfra version ``` This is pytest...