python-httpretty/skip-test_passthrough.patch
Jiri Popelka ad68d646b7
1.1.0
2021-05-13 14:05:33 +02:00

28 lines
820 B
Diff

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
+@skip
def test_http_passthrough():
url = 'http://httpbin.org/status/200'
response1 = http().get(url)
@@ -57,6 +59,7 @@ def test_http_passthrough():
(response4.content).should.equal(response1.content)
+@skip
def test_https_passthrough():
url = 'https://raw.githubusercontent.com/gabrielfalcao/httpretty/master/COPYING'