Skip to content

Commit

Permalink
tweak test_https_passthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfalcao committed May 14, 2021
1 parent 83159c2 commit 639c743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/test_passthrough.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ def test_http_passthrough():


def test_https_passthrough():
url = 'https://raw.githubusercontent.com/gabrielfalcao/httpretty/master/COPYING'
url = 'https://httpbin.org/status/200'

response1 = http().get(url)

httpretty.enable(allow_net_connect=True, verbose=True)
httpretty.enable(allow_net_connect=False, verbose=True)
httpretty.register_uri(httpretty.GET, 'https://google.com/', body="Not Google")
httpretty.register_uri(httpretty.GET, url, body="mocked")

Expand Down

0 comments on commit 639c743

Please sign in to comment.