forked from pool/python-pytest-httpbin
Accepting request 943223 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/943223 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-httpbin?expand=0&rev=8
This commit is contained in:
3
pytest-httpbin-1.0.1.tar.gz
Normal file
3
pytest-httpbin-1.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9f73320f97d33cc20bc8a08cb945372948de51402559e87e74e92c56b48da0d7
|
||||
size 14482
|
||||
2
pytest-httpbin-rpmlintrc
Normal file
2
pytest-httpbin-rpmlintrc
Normal file
@@ -0,0 +1,2 @@
|
||||
# These are test certificates and keys for localhost only
|
||||
addFilter("pem-certificate .*pytest_httpbin/certs")
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 29 09:56:27 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 15 14:24:20 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2824ce17910af803989ee6e426616c6621220023db6b3edf2b1e3bbe911b0e56
|
||||
size 17813
|
||||
Reference in New Issue
Block a user