forked from pool/python-pytest-httpbin
Accepting request 943039 from home:bnavigator:py310
- Update to v1.0.1
* httpbin_secure: fix redirect Location to have "https://"
scheme (#62) - thanks @immerrr
* Include regression tests in pypi tarball (#56) - thanks
@kmosiejczuk
- Add rpmlintrc filter for test certificates
OBS-URL: https://build.opensuse.org/request/show/943039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpbin?expand=0&rev=5
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-httpbin
|
||||
#
|
||||
# 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
|
||||
@@ -18,13 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytest-httpbin
|
||||
Version: 1.0.0
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: Web service for testing HTTP libraries
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/kevin1024/pytest-httpbin
|
||||
Source: https://github.com/kevin1024/pytest-httpbin/archive/v%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-%{version}.tar.gz
|
||||
Source99: pytest-httpbin-rpmlintrc
|
||||
BuildRequires: %{python_module httpbin}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
@@ -58,10 +59,11 @@ fixture.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md DESCRIPTION.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pytest_httpbin
|
||||
%{python_sitelib}/pytest_httpbin-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user