- 1.32.0:

* #524: Add testrun_uid fixture. This is a shared value that uniquely identifies a test run among all workers. This also adds a PYTEST_XDIST_TESTRUNUID environment variable that is accessible within a test as well as a command line option --testrunuid to manually set the value from outside.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal
2020-05-03 07:42:37 +00:00
committed by Git OBS Bridge
parent 2d34346015
commit 92ec50bad6
4 changed files with 11 additions and 6 deletions

View File

@@ -18,11 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-xdist
Version: 1.31.0
Version: 1.32.0
Release: 0
Summary: Distributed testing and loop-on-failing for py.test
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-xdist
Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest-xdist-%{version}.tar.gz
BuildRequires: %{python_module execnet >= 1.1}
@@ -76,7 +75,7 @@ sed -i 's/\r//' README.rst
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%pytest
%files %{python_files}
%doc CHANGELOG.rst ISSUES.txt README.rst