forked from pool/python-unittest-xml-reporting
Accepting request 734601 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/734601 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unittest-xml-reporting?expand=0&rev=17
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 09:11:10 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Skip test_xmlrunner_non_ascii failing with Python 3.8
|
||||||
|
gh#xmlrunner/unittest-xml-reporting#205
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 12 09:06:13 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
Fri Apr 12 09:06:13 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -22,11 +22,10 @@ Version: 2.5.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: PyUnit-based test runner with JUnit like XML reporting
|
Summary: PyUnit-based test runner with JUnit like XML reporting
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Languages/Python
|
URL: https://github.com/danielfm/unittest-xml-reporting
|
||||||
URL: http://github.com/danielfm/unittest-xml-reporting/tree/master/
|
|
||||||
Source: https://github.com/xmlrunner/unittest-xml-reporting/archive/%{version}.tar.gz
|
Source: https://github.com/xmlrunner/unittest-xml-reporting/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six >= 1.4.0}
|
BuildRequires: %{python_module six >= 1.4.0}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -34,6 +33,9 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-six >= 1.4.0
|
Requires: python-six >= 1.4.0
|
||||||
Provides: python-xmlrunner = %{version}
|
Provides: python-xmlrunner = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%ifpython2
|
||||||
|
BuildRequires: python2-mock
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -52,7 +54,8 @@ systems, IDEs and continuous integration servers.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand $python -m unittest discover
|
# gh#xmlrunner/unittest-xml-reporting#205
|
||||||
|
%pytest -k 'not test_xmlrunner_non_ascii'
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Reference in New Issue
Block a user