- Update to 1.2.0:

* Item.get_closest_marker is now used, which restores compatibility with pytest 4.1.0 and requires pytest 3.6.0 or newer.

- Really run tests
- Remove devel dependency

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xvfb?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2019-02-12 12:56:02 +00:00
committed by Git OBS Bridge
parent 52cebc8da9
commit c03fa64006
4 changed files with 20 additions and 9 deletions

View File

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

3
pytest-xvfb-1.2.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Feb 12 12:53:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.2.0:
* Item.get_closest_marker is now used, which restores compatibility with pytest 4.1.0 and requires pytest 3.6.0 or newer.
-------------------------------------------------------------------
Tue Feb 12 12:52:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Really run tests
- Remove devel dependency
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 15 18:54:38 UTC 2018 - arun@gmx.de Sun Apr 15 18:54:38 UTC 2018 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-xvfb # spec file for package python-pytest-xvfb
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-xvfb Name: python-pytest-xvfb
Version: 1.1.0 Version: 1.2.0
Release: 0 Release: 0
Summary: Pytest plugin to run Xvfb for tests Summary: Pytest plugin to run Xvfb for tests
License: MIT License: MIT
@@ -26,12 +26,11 @@ Group: Development/Languages/Python
URL: https://github.com/The-Compiler/pytest-xvfb URL: https://github.com/The-Compiler/pytest-xvfb
Source: https://files.pythonhosted.org/packages/source/p/pytest-xvfb/pytest-xvfb-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-xvfb/pytest-xvfb-%{version}.tar.gz
BuildRequires: %{python_module PyVirtualDisplay >= 0.2.1} BuildRequires: %{python_module PyVirtualDisplay >= 0.2.1}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest >= 2.8.1} BuildRequires: %{python_module pytest >= 2.8.1}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: xorg-x11-server BuildRequires: xvfb-run
Requires: python-PyVirtualDisplay >= 0.2.1 Requires: python-PyVirtualDisplay >= 0.2.1
Requires: python-pytest >= 2.8.1 Requires: python-pytest >= 2.8.1
Recommends: xorg-x11-server Recommends: xorg-x11-server
@@ -64,7 +63,7 @@ benefits of Xvfb locally.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py test %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run py.test-%{$python_bin_suffix}
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE