- 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

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7dc0d027d258cd0defc618fb97055fbd1002735ca7a6d17037018cf870e24011
size 66133

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun May 3 07:41:14 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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.
-------------------------------------------------------------------
Mon Jan 6 12:50:36 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

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