Skip to content

Commit

Permalink
Fix the failing test by switching to https://nghttp2.org/httpbin/ as p…
Browse files Browse the repository at this point in the history
…ostmanlabs/httpbin#617 is still open.

Signed-off-by: David Black <dblack@atlassian.com>
  • Loading branch information
dbaxa committed Jan 10, 2021
1 parent 4529057 commit c6a0779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ python:
- 2.7
- 3.4
- 3.5
env: HTTPBIN_URL=http://httpbin.org/
env: HTTPBIN_URL=https://nghttp2.org/httpbin/
script: python test_requests_futures.py
install: pip install -r requirements-python-2.7.txt
notifications:
Expand Down
2 changes: 1 addition & 1 deletion test_requests_futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from requests.adapters import DEFAULT_POOLSIZE
from requests_futures.sessions import FuturesSession

HTTPBIN = environ.get('HTTPBIN_URL', 'http://httpbin.org/')
HTTPBIN = environ.get('HTTPBIN_URL', 'https://nghttp2.org/httpbin/')
logging.basicConfig(level=logging.DEBUG)
logging.getLogger('urllib3.connectionpool').level = logging.WARNING
logging.getLogger('FuturesSession').level = logging.ERROR
Expand Down

0 comments on commit c6a0779

Please sign in to comment.