forked from pool/python-pytest-instafail
Accepting request 817663 from home:mcalabkova:branches:devel:languages:python:pytest
- Update to 0.4.2 * Fixed usage of deprecated pytest-xdist slave aliases (#20). * Fixed failing tests on pytest 5 * Added support for pytest 2.6 * Fixed failing tests on pytest 2.6 - Drop unneeded patch pytest5.patch OBS-URL: https://build.opensuse.org/request/show/817663 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-instafail?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
5c0d5acc34
commit
efc891a02a
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cc5007720424aeabadcf178fc0aecb3b21e09950b9e93638f3eb16c47f5fa917
|
|
||||||
size 5833
|
|
||||||
3
pytest-instafail-0.4.2.tar.gz
Normal file
3
pytest-instafail-0.4.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:19273fdf3f0f9a1cb4b7a0bc8aa1bdaaf6b0f62a681b693d5eca4626abc99782
|
||||||
|
size 5899
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
Index: pytest-instafail-0.4.1.post0/test_instafail.py
|
|
||||||
===================================================================
|
|
||||||
--- pytest-instafail-0.4.1.post0.orig/test_instafail.py
|
|
||||||
+++ pytest-instafail-0.4.1.post0/test_instafail.py
|
|
||||||
@@ -241,7 +241,7 @@ class TestInstafailingTerminalReporter(o
|
|
||||||
])
|
|
||||||
if not option.quiet:
|
|
||||||
result.stdout.fnmatch_lines([
|
|
||||||
- "collected 0 items / 1 errors",
|
|
||||||
+ "collected 0 items / 1 error*",
|
|
||||||
])
|
|
||||||
|
|
||||||
def test_print_stacktrace_once_with_pdb(self, testdir, request, option):
|
|
||||||
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 29 10:00:24 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.4.2
|
||||||
|
* Fixed usage of deprecated pytest-xdist slave aliases (#20).
|
||||||
|
* Fixed failing tests on pytest 5
|
||||||
|
* Added support for pytest 2.6
|
||||||
|
* Fixed failing tests on pytest 2.6
|
||||||
|
- Drop unneeded patch pytest5.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 5 08:24:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Mar 5 08:24:53 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -18,20 +18,19 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytest-instafail
|
Name: python-pytest-instafail
|
||||||
Version: 0.4.1.post0
|
Version: 0.4.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest Plugin to Show Failures Instantly
|
Summary: Pytest Plugin to Show Failures Instantly
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
URL: https://github.com/jpvanhal/pytest-instafail
|
URL: https://github.com/jpvanhal/pytest-instafail
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz
|
||||||
Patch0: pytest5.patch
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pytest >= 2.9
|
Requires: python-pytest >= 2.6
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest >= 2.9}
|
BuildRequires: %{python_module pytest >= 2.6}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -42,7 +41,6 @@ until the end of test session.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-instafail-%{version}
|
%setup -q -n pytest-instafail-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|||||||
Reference in New Issue
Block a user