- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-testinfra?expand=0&rev=12
This commit is contained in:
2024-01-15 14:11:32 +00:00
committed by Git OBS Bridge
parent d46973a9c6
commit 7ffb0c4f4d
5 changed files with 43 additions and 15 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fb7d0185458a9ba669ff14d0ddbec8b3900c6bde3fb6fad9b097374ce4ab77d
size 84667

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b40828b58fb7ac2bff29cc1465934adf434f10dd5a108f60535dee52660a63d
size 84156

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Mon Jan 15 14:11:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Mon May 22 04:16:57 UTC 2023 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-testinfra
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-testinfra
Version: 8.1.0
Version: 10.0.0
Release: 0
Summary: Python module to test infrastructures
License: Apache-2.0

View File

@@ -1,6 +1,8 @@
--- a/test/test_backends.py 2023-05-21 17:38:00.000000000 +0200
+++ b/test/test_backends.py 2023-05-22 06:22:56.491195059 +0200
@@ -476,13 +476,13 @@
Index: pytest-testinfra-10.0.0/test/test_backends.py
===================================================================
--- pytest-testinfra-10.0.0.orig/test/test_backends.py
+++ pytest-testinfra-10.0.0/test/test_backends.py
@@ -476,13 +476,13 @@ def test_ansible_unknown_option():
with pytest.raises(KeyError, match="^'unknown'$"):
runner.options_to_cli({"unknown": True})
@@ -18,4 +20,4 @@
+ assert obj.get_connection_type() == connection_type
@pytest.mark.testinfra_hosts("docker://rockylinux8", "ssh://rockylinux8")
@pytest.mark.testinfra_hosts("docker://rockylinux9", "ssh://rockylinux9")