def test_https_intercept_default_port(): b = Browser() b.open('https://some_hopefully_nonexistant_domain/') assert test_wsgi_app.success()
def test_intercept_removed(): remove_intercept() b = Browser() b.open('http://some_hopefully_nonexistant_domain:80/')
def test_intercepted(): b = Browser() b.open('http://some_hopefully_nonexistant_domain:80/') assert test_wsgi_app.success()