Python Testinfra
With Testinfra you can write unit tests in Python to test actual state of your servers configured by managements tools like Salt, Ansible, Puppet, Chef and so on.
Testinfra aims to be a Serverspec equivalent in python and is written as a plugin to the Pytest test engine.
- Developed at devel:languages:python:pytest
- Sources inherited from project openSUSE:Factory
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-pytest-testinfra && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
pytest-testinfra-7.0.0.tar.gz | 0000079296 77.4 KB | |
python-pytest-testinfra.changes | 0000011714 11.4 KB | |
python-pytest-testinfra.spec | 0000002970 2.9 KB | |
testinfra-parametrize-backends-test.patch | 0000001048 1.02 KB |
Revision 3 (latest revision is 7)
Dominique Leuenberger (dimstar_suse)
accepted
request 1085841
from
Dirk Mueller (dirkmueller)
(revision 3)
- update to 7.0.0: * Improved ssh config support in Paramiko backend * Add chroot backend * Add support for Manjaro-Linux * Add support for Cloudlinux * [BREAKING] Drop support for python 3.6 which is EOL * Handle ansible_connection type community.docker.docker * add ssh_extra_args option * Allow to test for user password expiration * Handle ANSIBLE_SSH_COMMON_ARGS and ANSIBLE_SSH_EXTRA_ARGS environment variables for ansible connections * Fix encoding issue in salt connections * Fix AttributeError when "command" is not available and fallback to "which" * Fallback to which when "command -v" fails * Use realpath by default to resolve symlinks instead of "readlink -f" * ansible: Support environment variables * Force package module to resolve to RpmPackage on Fedora * Fix new versions of supervisor may exit with status != 0 * Eventually decode ansible output when it's not ascii * Either use python3 or python to get remote encoding * Implement Interface names and default (#615) * Implement Service.systemd_properties (#612)
Comments 0