This commit is contained in:
Jiri Popelka 2021-05-24 09:52:57 +02:00
parent ad68d646b7
commit 5c62298cbb
No known key found for this signature in database
GPG Key ID: A3E9A812AAB73DA7
4 changed files with 11 additions and 6 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/httpretty-1.0.2.tar.gz
/httpretty-1.0.5.tar.gz
/httpretty-1.1.0.tar.gz
/httpretty-1.1.2.tar.gz

View File

@ -14,7 +14,7 @@
%global run_tests 1
Name: python-httpretty
Version: 1.1.0
Version: 1.1.2
# If github_date is defined, assume a post-release snapshot
Release: 1%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Summary: HTTP request mock tool for Python
@ -61,6 +61,7 @@ BuildRequires: python%{?fedora:2}-tornado
BuildRequires: python%{?fedora:2}-eventlet
BuildRequires: python%{?fedora:2}-freezegun
BuildRequires: python%{?fedora:2}-redis
BuildRequires: python%{?fedora:2}-httpx
%if 0%{?epel} == 6
# Need unittest2 to get the 'skip' decorator
BuildRequires: python-unittest2
@ -160,6 +161,9 @@ LANG=C.UTF-8 %{__python2} -m nose -v
%changelog
* Mon May 24 2021 Jiri Popelka <jpopelka@redhat.com> - 1.1.2-1
- 1.1.2
* Thu May 13 2021 Jiri Popelka <jpopelka@redhat.com> - 1.1.0-1
- 1.1.0

View File

@ -1,6 +1,6 @@
diff -up httpretty-1.1.0/tests/functional/test_passthrough.py.orig httpretty-1.1.0/tests/functional/test_passthrough.py
--- httpretty-1.1.0/tests/functional/test_passthrough.py.orig 2021-05-13 02:02:46.000000000 +0200
+++ httpretty-1.1.0/tests/functional/test_passthrough.py 2021-05-13 14:03:40.836340941 +0200
diff -up httpretty-1.1.2/tests/functional/test_passthrough.py.orig httpretty-1.1.2/tests/functional/test_passthrough.py
--- httpretty-1.1.2/tests/functional/test_passthrough.py.orig 2021-05-14 03:02:06.000000000 +0200
+++ httpretty-1.1.2/tests/functional/test_passthrough.py 2021-05-24 09:48:01.790645558 +0200
@@ -24,6 +24,7 @@
import requests
import httpretty
@ -23,5 +23,5 @@ diff -up httpretty-1.1.0/tests/functional/test_passthrough.py.orig httpretty-1.1
+@skip
def test_https_passthrough():
url = 'https://raw.githubusercontent.com/gabrielfalcao/httpretty/master/COPYING'
url = 'https://httpbin.org/status/200'

View File

@ -1 +1 @@
SHA512 (httpretty-1.1.0.tar.gz) = a6da71115d4dc12125bec451888c30858ec94f2a3aec530b21efcacd9c595cb3d2196dbca3631f4b6f50c985c14b3c4bc6f34ec1d9e41aaf2b48fc8a072f5739
SHA512 (httpretty-1.1.2.tar.gz) = 674641509e43cb36c14af560853271495474157477350ff80a9bd311b435fb64e9aa2b710419b34b1f344ffc963f8c7141a631dd3f0d9599accb43647b5680c0