Accepting request 1088166 from home:crameleon:branches:devel:languages:python:pytest

Update to version 8.1.0

OBS-URL: https://build.opensuse.org/request/show/1088166
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-testinfra?expand=0&rev=10
This commit is contained in:
2023-05-22 10:59:21 +00:00
committed by Git OBS Bridge
parent 7414fce97b
commit d46973a9c6
5 changed files with 28 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38c2ce2df4e25f685636c7db9ac15083a7cf3e4a8a997d5fa654e8a7bedeadce
size 79296

View File

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

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon May 22 04:16:57 UTC 2023 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Update to 8.1.0:
* [NEW] Add Windows support for File and Service modules
* [NEW] Add File.is_executable property
- 8.0.0:
* [NEW] Add Group.members attribute
* [NEW] Add File.inode attribute
* [NEW] Add Interface.routes() method
* [NEW] Add Docker.is_restarting attribute
* [FIX] Fix possible error in Interface.default()
* [FIX] Fix busybox detection in Process module
* [FIX] Fix possible KeyError in SysInfo module
* [BREAKING] drop support for python 3.7
- 7.0.1:
* [FIX] Fix command -v compatibility with dash shell
-------------------------------------------------------------------
Tue May 9 21:23:17 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-testinfra
Version: 7.0.0
Version: 8.1.0
Release: 0
Summary: Python module to test infrastructures
License: Apache-2.0

View File

@@ -1,8 +1,6 @@
Index: pytest-testinfra-6.3.0/test/test_backends.py
===================================================================
--- pytest-testinfra-6.3.0.orig/test/test_backends.py
+++ pytest-testinfra-6.3.0/test/test_backends.py
@@ -467,13 +467,13 @@ def test_ansible_unknown_option():
--- 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 @@
with pytest.raises(KeyError, match="^'unknown'$"):
runner.options_to_cli({"unknown": True})
@@ -20,4 +18,4 @@ Index: pytest-testinfra-6.3.0/test/test_backends.py
+ assert obj.get_connection_type() == connection_type
@pytest.mark.testinfra_hosts("docker://centos_7", "ssh://centos_7")
@pytest.mark.testinfra_hosts("docker://rockylinux8", "ssh://rockylinux8")