Module Import alias Import alias Import alias ImportFrom alias identifier Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str ListLoad Dict Str Str Dict Str Str Str Str Str Str Str Dict Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assert UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Assert CompareEq AttributeLoad NameLoad attr ListLoad Str Assert CompareEq AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Assert CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Assert CompareIn Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Assert CompareEq Call AttributeLoad NameLoad attr Str ListLoad Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults vararg body Assign NameStore Call Call AttributeLoad NameLoad attr keyword Str NameLoad For NameStore Call NameLoad Num body Expr Call NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str Lambda arguments args defaults vararg kwarg TupleLoad TupleLoad Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad With NameLoad NameStore body Assert CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str With NameLoad NameStore body Assert CompareEq AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str Str TupleLoad Str FunctionDef arguments args defaults body Pass decorator_list NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Assert UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Assert AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Assert CompareEq Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Str NameLoad decorator_list FunctionDef arguments args defaults vararg body Assign NameStore Dict Str Str Str Dict Str Str Dict Dict Str Str Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad Expr Call NameLoad Str With Call AttributeLoad NameLoad attr keyword Str NameStore body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad Call AttributeLoad NameLoad attr Str keyword NameLoad FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr keyword Str body Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr keyword Str body Assign NameStore AttributeLoad NameLoad attr Assert CompareIsNot NameLoad NameLoad With Call AttributeLoad NameLoad attr keyword Str body Assert CompareIsNot AttributeLoad NameLoad attr NameLoad With Call NameLoad body Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list With Call AttributeLoad NameLoad attr keyword Str keyword TupleLoad TupleLoad NameLoad Str NameLoad body Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareIsNot NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr keyword Str keyword TupleLoad TupleLoad NameLoad Str NameLoad body Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareIsNot NameLoad AttributeLoad NameLoad attr Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assert CompareIsNot NameLoad AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict Str NameLoad Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If SubscriptLoad NameLoad Index Str body Assert CompareIsNot AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str orelse Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad Assert CompareIs AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr keyword Str keyword Lambda arguments args defaults vararg Str NameStore body Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body With Call AttributeLoad NameLoad attr keyword Str keyword NameLoad NameStore body Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Yield Num Assert CompareEq NameLoad Num Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Yield Num Assert CompareEq NameLoad Num decorator_list Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad While NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Break decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Expr Yield Num Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Expr Yield Num decorator_list Call AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq Call NameLoad Call NameLoad ListLoad Num Num decorator_list
N/A N/A copy N/A inspect N/A os six.moves http_client httplib N/A pytest N/A yaml vcr.compat mock contextlib vcr.cassette Cassette vcr.errors UnhandledHTTPRequestError vcr.patch force_reset vcr.stubs VCRHTTPSConnection test_cassette_load N/A N/A tmpdir N/A N/A N/A a_file N/A N/A tmpdir join test_cassette.yml N/A N/A N/A a_file write N/A N/A yaml dump N/A interactions N/A N/A request response N/A body uri method headers foo GET N/A bar N/A a_cassette N/A N/A Cassette load path N/A str a_file N/A N/A N/A len a_cassette 1 N/A test_cassette_not_played N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A a play_count N/A test_cassette_append N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A a append foo bar N/A N/A N/A a requests N/A foo N/A N/A N/A a responses N/A bar N/A test_cassette_len N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A a append foo bar N/A N/A N/A a append foo2 bar2 N/A N/A N/A len a 2 N/A _mock_requests_match N/A N/A request1 request2 matchers N/A N/A N/A N/A request1 request2 N/A test_cassette_contains N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A a append foo bar N/A N/A foo a N/A N/A N/A mock patch vcr.cassette.requests_match _mock_requests_match test_cassette_responses_of N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A a append foo bar N/A N/A N/A N/A a responses_of foo N/A bar N/A N/A N/A mock patch vcr.cassette.requests_match _mock_requests_match test_cassette_get_missing_response N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A pytest raises UnhandledHTTPRequestError N/A N/A N/A N/A a responses_of foo N/A N/A N/A mock patch vcr.cassette.requests_match _mock_requests_match test_cassette_cant_read_same_request_twice N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A a append foo bar N/A N/A N/A a play_response foo N/A N/A N/A pytest raises UnhandledHTTPRequestError N/A N/A N/A N/A a play_response foo N/A N/A N/A mock patch vcr.cassette.requests_match _mock_requests_match make_get_request N/A N/A N/A N/A N/A conn N/A N/A httplib HTTPConnection www.python.org N/A N/A N/A conn request GET /index.html N/A N/A N/A conn getresponse N/A test_function_decorated_with_use_cassette_can_be_invoked_multiple_times N/A N/A N/A args N/A N/A decorated_function N/A N/A N/A Cassette use path test make_get_request N/A i N/A range 4 N/A N/A N/A decorated_function N/A N/A N/A mock patch vcr.cassette.requests_match return_value True N/A N/A mock patch vcr.cassette.load_cassette N/A N/A N/A N/A args kwargs N/A N/A foo N/A N/A N/A mock MagicMock N/A N/A mock patch vcr.cassette.Cassette.can_play_response_for return_value True N/A N/A mock patch vcr.stubs.VCRHTTPResponse test_arg_getter_functionality N/A N/A N/A N/A N/A arg_getter N/A N/A mock Mock return_value N/A path test N/A context_decorator N/A N/A Cassette use_arg_getter arg_getter N/A context_decorator cassette N/A N/A N/A N/A cassette _path test N/A N/A arg_getter return_value N/A path other N/A context_decorator cassette N/A N/A N/A N/A cassette _path other N/A N/A arg_getter return_value N/A path filter_headers other N/A header_name function N/A N/A N/A N/A N/A N/A context_decorator N/A N/A N/A N/A mock patch object Cassette load return_value N/A N/A mock MagicMock inject False cassette_load N/A N/A N/A function N/A N/A N/A cassette_load assert_called_once_with N/A arg_getter return_value N/A test_cassette_not_all_played N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A a append foo bar N/A N/A N/A a all_played N/A test_cassette_all_played N/A N/A N/A N/A N/A a N/A Cassette test N/A N/A N/A a append foo bar N/A N/A N/A a play_response foo N/A N/A a all_played N/A N/A N/A mock patch vcr.cassette.requests_match _mock_requests_match test_before_record_response N/A N/A N/A N/A N/A before_record_response N/A N/A mock Mock return_value mutated N/A cassette N/A Cassette test before_record_response before_record_response N/A N/A N/A cassette append req res N/A N/A N/A before_record_response assert_called_once_with res N/A N/A N/A N/A cassette responses N/A 0 mutated N/A assert_get_response_body_is N/A N/A value N/A N/A N/A conn N/A N/A httplib HTTPConnection www.python.org N/A N/A N/A conn request GET /index.html N/A N/A N/A N/A N/A N/A N/A N/A conn getresponse read decode utf8 value N/A test_nesting_cassette_context_managers N/A N/A N/A args N/A N/A first_response N/A body headers status N/A string first_response N/A N/A message code m 200 N/A second_response N/A N/A copy deepcopy first_response N/A N/A N/A second_response N/A body N/A string second_response N/A N/A N/A contextlib ExitStack exit_stack N/A N/A first_cassette N/A N/A exit_stack enter_context N/A N/A Cassette use path test N/A N/A N/A exit_stack enter_context N/A N/A N/A mock patch object first_cassette play_response return_value first_response N/A N/A assert_get_response_body_is first_response N/A N/A N/A Cassette use path test second_cassette N/A N/A N/A N/A N/A mock patch object second_cassette play_response return_value second_response N/A N/A N/A assert_get_response_body_is second_response N/A N/A assert_get_response_body_is first_response N/A N/A N/A mock patch vcr.cassette.requests_match _mock_requests_match N/A N/A mock patch vcr.cassette.Cassette.can_play_response_for return_value True N/A N/A mock patch vcr.cassette.Cassette._save return_value True test_nesting_context_managers_by_checking_references_of_http_connection N/A N/A N/A N/A N/A original N/A httplib HTTPConnection N/A N/A N/A Cassette use path test N/A N/A first_cassette_HTTPConnection N/A httplib HTTPConnection N/A N/A N/A Cassette use path test N/A N/A second_cassette_HTTPConnection N/A httplib HTTPConnection N/A N/A second_cassette_HTTPConnection first_cassette_HTTPConnection N/A N/A N/A Cassette use path test N/A N/A N/A N/A httplib HTTPConnection second_cassette_HTTPConnection N/A N/A force_reset N/A N/A N/A N/A httplib HTTPConnection original N/A N/A N/A httplib HTTPConnection second_cassette_HTTPConnection N/A N/A N/A httplib HTTPConnection first_cassette_HTTPConnection N/A test_custom_patchers N/A N/A N/A N/A Test N/A object N/A N/A attribute None N/A N/A N/A N/A Cassette use path custom_patches custom_patches N/A N/A Test attribute VCRHTTPSConnection N/A N/A N/A issubclass N/A Test attribute VCRHTTPSConnection N/A N/A VCRHTTPSConnection N/A Test attribute N/A old_attribute N/A Test attribute N/A N/A N/A Cassette use path custom_patches custom_patches N/A N/A Test attribute VCRHTTPSConnection N/A N/A N/A issubclass N/A Test attribute VCRHTTPSConnection N/A N/A VCRHTTPSConnection N/A Test attribute N/A N/A N/A Test attribute old_attribute N/A N/A issubclass N/A Test attribute VCRHTTPSConnection N/A N/A VCRHTTPSConnection N/A Test attribute N/A N/A N/A Test attribute old_attribute N/A test_decorated_functions_are_reentrant N/A N/A N/A N/A N/A info N/A second False N/A original_conn N/A httplib HTTPConnection test_function N/A N/A cassette N/A N/A N/A N/A info N/A second N/A N/A N/A N/A httplib HTTPConnection N/A info N/A first_conn N/A N/A N/A info N/A first_conn N/A httplib HTTPConnection N/A N/A info N/A second True N/A N/A test_function N/A N/A N/A httplib HTTPConnection N/A info N/A first_conn N/A N/A N/A Cassette use path whatever inject True N/A N/A test_function N/A N/A N/A httplib HTTPConnection original_conn N/A test_cassette_use_called_without_path_uses_function_to_generate_path N/A N/A N/A N/A function_name N/A N/A cassette N/A N/A N/A N/A N/A cassette _path function_name N/A N/A N/A Cassette use inject True N/A N/A function_name N/A test_path_transformer_with_function_path N/A N/A N/A N/A path_transformer N/A N/A path N/A N/A N/A N/A N/A N/A os path join a path N/A function_name N/A N/A cassette N/A N/A N/A N/A N/A cassette _path N/A N/A N/A os path join a function_name N/A N/A N/A Cassette use inject True path_transformer path_transformer N/A N/A function_name N/A test_path_transformer_with_context_manager N/A N/A N/A N/A N/A N/A N/A Cassette use path b path_transformer N/A N/A N/A N/A args a cassette N/A N/A N/A N/A cassette _path a N/A test_path_transformer_None N/A N/A N/A N/A N/A N/A N/A Cassette use path a path_transformer None cassette N/A N/A N/A N/A cassette _path a N/A test_func_path_generator N/A N/A N/A N/A generator N/A N/A function N/A N/A N/A N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A inspect getfile function N/A function __name__ N/A function_name N/A N/A cassette N/A N/A N/A N/A N/A cassette _path N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ function_name N/A N/A N/A Cassette use inject True func_path_generator generator N/A N/A function_name N/A test_use_as_decorator_on_coroutine N/A N/A N/A N/A N/A original_http_connetion N/A httplib HTTPConnection test_function N/A N/A cassette N/A N/A N/A N/A N/A N/A httplib HTTPConnection cassette cassette N/A N/A N/A httplib HTTPConnection original_http_connetion N/A value N/A 1 N/A N/A value 1 N/A N/A N/A N/A httplib HTTPConnection cassette cassette N/A N/A N/A httplib HTTPConnection original_http_connetion N/A value N/A 2 N/A N/A value 2 N/A N/A N/A Cassette use inject True N/A coroutine N/A test_function N/A value N/A next coroutine N/A True N/A N/A N/A N/A value N/A N/A coroutine send value N/A N/A N/A StopIteration N/A N/A N/A test_use_as_decorator_on_generator N/A N/A N/A N/A N/A original_http_connetion N/A httplib HTTPConnection test_function N/A N/A cassette N/A N/A N/A N/A N/A N/A httplib HTTPConnection cassette cassette N/A N/A N/A httplib HTTPConnection original_http_connetion N/A N/A 1 N/A N/A N/A N/A httplib HTTPConnection cassette cassette N/A N/A N/A httplib HTTPConnection original_http_connetion N/A N/A 2 N/A N/A N/A Cassette use inject True N/A N/A N/A list N/A test_function N/A 1 2 N/A