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:PowerPC/python-pytest-testinfra && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
pytest-testinfra-10.0.0.tar.gz | 0000084667 82.7 KB | |
python-pytest-testinfra.changes | 0000013525 13.2 KB | |
python-pytest-testinfra.spec | 0000002971 2.9 KB | |
testinfra-parametrize-backends-test.patch | 0000001057 1.03 KB |
Revision 5 (latest revision is 6)
Ana Guerrero (anag+factory)
accepted
request 1138881
from
Dirk Mueller (dirkmueller)
(revision 5)
- update to 10.0.0: * [FIX] Fix output of error message * [FIX] Ansible: Fix for missing group names in get_variables() * [FIX] testinfra/modules/blockdevice: Don't fail on stderr * [DOC] Extend and show the documentation of CommandResult * [FIX] Extend list of valid suffixes for systemd units * [DOC] Add missing Environment doc section * [MISC] Define types for plugin.py * [MISC] Bump actions/checkout from 3 to 4 * [FIX] Missing RHEL distribution in package module * [NEW] feat(package): brew support * [NEW] Add Service.exists * [MISC] Make CommandResult a dataclass - update to 9.0.0: * [BREAKING] pytest-testinfra now require python >= 3.9 * [BREAKING] Drop deprecated module PipPackage * [NEW] Add support for the SSH ControlPath connection sharing option * [FIX] Retry SSH on ConnectionResetError * [FIX] List openSUSE Leap and Tumbleweed explicitly as rpm based distributions * [FIX] Make group name mandatory in group module to skip salt backend and still test the rest. * Add arch (architecture) attribute to system_info module * Add a new ansible connection options “force_ansible”, when set to True, testinfra will always call ansible for all commands * Handle all ansible connections types by setting force_ansible=True for connections which doesn’t have a testinfra equivalent connection
Comments 0