This commit is contained in:
Jiri Popelka 2021-05-13 14:05:33 +02:00
parent 2dd76e6404
commit ad68d646b7
No known key found for this signature in database
GPG Key ID: A3E9A812AAB73DA7
4 changed files with 20 additions and 8 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/httpretty-0.9.7.tar.gz
/httpretty-1.0.2.tar.gz
/httpretty-1.0.5.tar.gz
/httpretty-1.1.0.tar.gz

View File

@ -14,9 +14,9 @@
%global run_tests 1
Name: python-httpretty
Version: 1.0.5
Version: 1.1.0
# If github_date is defined, assume a post-release snapshot
Release: 2%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Release: 1%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Summary: HTTP request mock tool for Python
License: MIT
@ -160,6 +160,9 @@ LANG=C.UTF-8 %{__python2} -m nose -v
%changelog
* Thu May 13 2021 Jiri Popelka <jpopelka@redhat.com> - 1.1.0-1
- 1.1.0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1,7 +1,15 @@
diff -up httpretty-1.0.2/tests/functional/test_passthrough.py.orig httpretty-1.0.2/tests/functional/test_passthrough.py
--- httpretty-1.0.2/tests/functional/test_passthrough.py.orig 2020-03-10 04:08:59.000000000 +0100
+++ httpretty-1.0.2/tests/functional/test_passthrough.py 2020-03-27 11:40:51.716073339 +0100
@@ -36,6 +36,7 @@ def http():
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
@@ -24,6 +24,7 @@
import requests
import httpretty
+from unittest import skip
from sure import expect
@@ -35,6 +36,7 @@ def http():
return sess
@ -9,7 +17,7 @@ diff -up httpretty-1.0.2/tests/functional/test_passthrough.py.orig httpretty-1.0
def test_http_passthrough():
url = 'http://httpbin.org/status/200'
response1 = http().get(url)
@@ -58,6 +59,7 @@ def test_http_passthrough():
@@ -57,6 +59,7 @@ def test_http_passthrough():
(response4.content).should.equal(response1.content)

View File

@ -1 +1 @@
SHA512 (httpretty-1.0.5.tar.gz) = 2e5f4834848ab1a0b84230f000afb0409b30b3cc1769d36ad61f712f56abc8d6076e7507598f791fe343ce282cf9e26939add71ef794ead2836badfc2321d6bb
SHA512 (httpretty-1.1.0.tar.gz) = a6da71115d4dc12125bec451888c30858ec94f2a3aec530b21efcacd9c595cb3d2196dbca3631f4b6f50c985c14b3c4bc6f34ec1d9e41aaf2b48fc8a072f5739