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