Module Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias Import alias ImportFrom alias Assign NameStore Str Assign NameStore Call NameLoad NameLoad FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num NameStore body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num NameStore body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num NameStore body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameStore body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Str body Expr Call AttributeLoad NameLoad attr Str Assert CompareIn Str Call NameLoad AttributeLoad NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num NameStore body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num NameStore body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Assert Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num body Assign NameStore Call AttributeLoad NameLoad attr Str Assert BoolOpAnd CompareGtE AttributeLoad NameLoad attr Num CompareLt AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args defaults body With Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num body Assign NameStore Call AttributeLoad NameLoad attr Str Assert BoolOpAnd CompareGtE AttributeLoad NameLoad attr Num CompareLt AttributeLoad NameLoad attr Num decorator_list NameLoad
N/A N/A os N/A py.test wsgi_intercept requests_intercept WSGIAppError test wsgi_app test.install installer_class skipnetwork N/A requests requests.exceptions ConnectionError N/A HOST some_hopefully_nonexistant_domain N/A InstalledApp N/A installer_class requests_intercept test_http N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app simple_app host HOST port 80 app N/A N/A resp N/A N/A requests get http://some_hopefully_nonexistant_domain:80/ N/A N/A N/A resp content WSGI intercept successful!
 N/A N/A N/A app success N/A test_http_default_port N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app simple_app host HOST port 80 app N/A N/A resp N/A N/A requests get http://some_hopefully_nonexistant_domain/ N/A N/A N/A resp content WSGI intercept successful!
 N/A N/A N/A app success N/A test_http_other_port N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app simple_app host HOST port 8080 app N/A N/A resp N/A N/A requests get http://some_hopefully_nonexistant_domain:8080/ N/A N/A N/A resp content WSGI intercept successful!
 N/A N/A N/A app success N/A environ N/A N/A app get_internals N/A N/A N/A environ N/A wsgi.url_scheme http N/A test_bogus_domain N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app simple_app host HOST port 80 N/A N/A N/A N/A N/A py test raises ConnectionError requests.get("http://_nonexistant_domain_") N/A test_proxy_handling N/A N/A N/A N/A N/A N/A N/A N/A py test raises RuntimeError exc N/A N/A N/A InstalledApp N/A wsgi_app simple_app host HOST port 80 proxy some_proxy.com:1234 N/A N/A N/A N/A requests get http://some_hopefully_nonexistant_domain:80/ N/A N/A http_proxy or https_proxy set in environment N/A str N/A exc value N/A N/A N/A os environ N/A http_proxy N/A test_https N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app simple_app host HOST port 443 app N/A N/A resp N/A N/A requests get https://some_hopefully_nonexistant_domain:443/ N/A N/A N/A resp content WSGI intercept successful!
 N/A N/A N/A app success N/A test_https_default_port N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app simple_app host HOST port 443 app N/A N/A resp N/A N/A requests get https://some_hopefully_nonexistant_domain/ N/A N/A N/A resp content WSGI intercept successful!
 N/A N/A N/A app success N/A environ N/A N/A app get_internals N/A N/A N/A environ N/A wsgi.url_scheme https N/A test_app_error N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app raises_app host HOST port 80 N/A N/A N/A N/A N/A py test raises WSGIAppError N/A N/A N/A N/A requests get http://some_hopefully_nonexistant_domain/ N/A test_http_not_intercepted N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app raises_app host HOST port 80 N/A N/A resp N/A N/A requests get http://google.com N/A N/A N/A N/A resp status_code 200 N/A N/A resp status_code 300 N/A skipnetwork test_https_not_intercepted N/A N/A N/A N/A N/A N/A InstalledApp N/A wsgi_app raises_app host HOST port 80 N/A N/A resp N/A N/A requests get https://google.com N/A N/A N/A N/A resp status_code 200 N/A N/A resp status_code 300 N/A skipnetwork