- update to 1.3.0:

* Allows to fail tests that cannot be ordered.
  * added option `--error-on-failed-ordering` to make tests that
    cannot be ordered fail
  * added missing documentation examples, structured examples
    according to documentation structure

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-order?expand=0&rev=11
This commit is contained in:
2024-10-24 08:57:15 +00:00
committed by Git OBS Bridge
parent 92383b12b1
commit 276f35f55b
4 changed files with 21 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4451bd8821ba4fa2109455a2fcc882af60ef8e53e09d244d67674be08f56eac3
size 44726

BIN
pytest_order-1.3.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Oct 24 08:57:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.0:
* Allows to fail tests that cannot be ordered.
* added option `--error-on-failed-ordering` to make tests that
cannot be ordered fail
* added missing documentation examples, structured examples
according to documentation structure
-------------------------------------------------------------------
Sat Apr 6 07:44:52 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,13 +18,15 @@
%{?sle15_python_module_pythons}
Name: python-pytest-order
Version: 1.2.1
Version: 1.3.0
Release: 0
Summary: Pytest plugin to run your tests in a specific order
License: MIT
URL: https://github.com/pytest-dev/pytest-order
Source: https://files.pythonhosted.org/packages/source/p/pytest-order/pytest-order-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/p/pytest-order/pytest_order-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest >= 5.0}
@@ -44,13 +46,13 @@ relative to the other tests. pytest-order is a fork of pytest-ordering that
provides some additional features.
%prep
%setup -q -n pytest-order-%{version}
%setup -q -n pytest_order-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -60,6 +62,6 @@ provides some additional features.
%doc AUTHORS CHANGELOG.md README.md
%license LICENSE
%{python_sitelib}/pytest_order
%{python_sitelib}/pytest_order-%{version}*-info
%{python_sitelib}/pytest_order-%{version}.dist-info
%changelog