Accepting request 936451 from home:pgajdos:python

- version update to 1.0.2
  **Breaking change**: The scope of ``httpserver_listen_address`` fixture changed from **function**
  to **session**. This is a requirement to implement the other features listed
  in this release. See the `upgrade guide
  <https://pytest-httpserver.readthedocs.io/en/latest/upgrade.html>`_ for the
  details.
  * many other changes, see CHANGES.rst

OBS-URL: https://build.opensuse.org/request/show/936451
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=13
This commit is contained in:
2021-12-09 00:19:54 +00:00
committed by Git OBS Bridge
parent b3951fbad2
commit 6e34b50b42
4 changed files with 17 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-httpserver
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-httpserver
Version: 0.3.4
Version: 1.0.2
Release: 0
Summary: A HTTP server for pytest
License: MIT
@@ -59,7 +59,7 @@ HTTP requests and their responses.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -k 'not test_wait_unexpected_request and not test_wait_timeout'
%pytest
%files %{python_files}
%doc README.md