summaryrefslogtreecommitdiff
path: root/net-misc/httpie/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /net-misc/httpie/files
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'net-misc/httpie/files')
-rw-r--r--net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch11
-rw-r--r--net-misc/httpie/files/httpie-1.0.3-test_binary.patch17
-rw-r--r--net-misc/httpie/files/httpie-1.0.3-test_stream.patch20
3 files changed, 0 insertions, 48 deletions
diff --git a/net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch b/net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch
deleted file mode 100644
index 212f91f41e82..000000000000
--- a/net-misc/httpie/files/httpie-1.0.2-fix-test_ssl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/tests/test_ssl.py 2018-11-14 16:36:19.000000000 +0100
-+++ b/tests/test_ssl.py 2019-06-29 16:28:09.466528486 +0200
-@@ -45,7 +45,7 @@
- except ssl_errors as e:
- if ssl_version == 'ssl3':
- # pytest-httpbin doesn't support ssl3
-- assert 'SSLV3_ALERT_HANDSHAKE_FAILURE' in str(e)
-+ assert 'SSLV3_ALERT_HANDSHAKE_FAILURE' in str(e) or 'handshake failure' in str(e)
- else:
- raise
-
diff --git a/net-misc/httpie/files/httpie-1.0.3-test_binary.patch b/net-misc/httpie/files/httpie-1.0.3-test_binary.patch
deleted file mode 100644
index 0e4112629c73..000000000000
--- a/net-misc/httpie/files/httpie-1.0.3-test_binary.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/tests/test_binary.py 2019-10-13 17:33:33.346205203 +0200
-+++ b/tests/test_binary.py 2019-10-13 17:37:39.474820883 +0200
-@@ -35,12 +35,12 @@
-
- def test_binary_suppresses_when_terminal(self, httpbin):
- r = http('GET', httpbin + '/bytes/1024')
-- assert BINARY_SUPPRESSED_NOTICE.decode() in r
-+ assert True
-
- def test_binary_suppresses_when_not_terminal_but_pretty(self, httpbin):
- env = MockEnvironment(stdin_isatty=True, stdout_isatty=False)
- r = http('--pretty=all', 'GET', httpbin + '/bytes/1024', env=env)
-- assert BINARY_SUPPRESSED_NOTICE.decode() in r
-+ assert True
-
- def test_binary_included_and_correct_when_suitable(self, httpbin):
- env = MockEnvironment(stdin_isatty=True, stdout_isatty=False)
diff --git a/net-misc/httpie/files/httpie-1.0.3-test_stream.patch b/net-misc/httpie/files/httpie-1.0.3-test_stream.patch
deleted file mode 100644
index 0df4a0a760eb..000000000000
--- a/net-misc/httpie/files/httpie-1.0.3-test_stream.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/tests/test_stream.py 2019-10-13 17:33:33.346205203 +0200
-+++ b/tests/test_stream.py 2019-10-13 17:37:57.513646115 +0200
-@@ -19,7 +19,7 @@
- stdout_isatty=False)
- r = http('--verbose', '--pretty=all', '--stream', 'GET',
- httpbin.url + '/get', env=env)
-- assert BINARY_SUPPRESSED_NOTICE.decode() in r
-+ assert True
-
-
- def test_encoded_stream(httpbin):
-@@ -29,7 +29,7 @@
- env = MockEnvironment(stdin=f, stdin_isatty=False)
- r = http('--pretty=none', '--stream', '--verbose', 'GET',
- httpbin.url + '/get', env=env)
-- assert BINARY_SUPPRESSED_NOTICE.decode() in r
-+ assert True
-
-
- def test_redirected_stream(httpbin):