Python Testinfra

Edit Package python-pytest-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.

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's avatar Ana Guerrero (anag+factory) accepted request 1138881 from Dirk Mueller's avatar 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
openSUSE Build Service is sponsored by