2020-01-09 15:09:28 +08:00
|
|
|
Name: python-pytest-expect
|
|
|
|
|
Version: 1.1.0
|
2021-12-22 18:18:19 +08:00
|
|
|
Release: 5
|
2020-01-09 15:09:28 +08:00
|
|
|
Summary: Py.test plugin to store test expectations and mark tests based on them
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://pypi.org/project/pytest-expect/
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/8b/3d/c5fcbb8a693dcde00ecc3d69639b2b2b3f385b305bc76a06f94f1030b2dc/pytest-expect-1.1.0.tar.gz
|
|
|
|
|
Source1: https://raw.githubusercontent.com/gsnedders/pytest-expect/%{version}/LICENSE
|
|
|
|
|
|
2020-02-25 17:20:36 +08:00
|
|
|
BuildRequires: python3-devel python3-setuptools
|
2020-01-09 15:09:28 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A py.test plugin that stores test expectations by saving the set of failing
|
|
|
|
|
tests, allowing them to be marked as xfail when running them in future.
|
|
|
|
|
The tests expectations are stored such that they can be distributed alongside
|
|
|
|
|
the tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-pytest-expect
|
|
|
|
|
Summary: Python3 package
|
2021-09-27 15:18:24 +08:00
|
|
|
%{?python_provide:%python_provide python3-pytest-expect}
|
2020-01-09 15:09:28 +08:00
|
|
|
|
|
|
|
|
%description -n python3-pytest-expect
|
|
|
|
|
A py.test plugin that stores test expectations by saving the set of failing
|
|
|
|
|
tests, allowing them to be marked as xfail when running them in future.
|
|
|
|
|
The tests expectations are stored such that they can be distributed alongside
|
|
|
|
|
the tests.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n pytest-expect-1.1.0 -p1
|
|
|
|
|
cp -p %{SOURCE1} .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-pytest-expect
|
2020-02-25 17:20:36 +08:00
|
|
|
%doc README.rst LICENSE
|
2020-01-09 15:09:28 +08:00
|
|
|
%{python3_sitelib}/pytest_expect
|
2021-12-22 18:18:19 +08:00
|
|
|
%{python3_sitelib}/pytest_expect-%{version}-py?.??.egg-info
|
2020-01-09 15:09:28 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2021-12-22 18:18:19 +08:00
|
|
|
* Wed Dec 22 2021 caodongxia <caodongxia@huawei.com> 1.1.0-5
|
|
|
|
|
- Adapt to python3.10
|
|
|
|
|
|
2021-09-27 15:18:24 +08:00
|
|
|
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> 1.1.0-4
|
|
|
|
|
- Provide python-pytest-expect
|
|
|
|
|
|
2020-02-25 17:20:36 +08:00
|
|
|
* Tue Feb 25 2020 chenli<chenli147@huawei.com> 1.1.0-3
|
|
|
|
|
- Modify Spec
|
|
|
|
|
|
2020-01-09 15:09:28 +08:00
|
|
|
* Mon Jan 6 2020 chenli<chenli147@huawei.com> 1.1.0-2
|
|
|
|
|
- Initial package
|