Module Assign NameStore Str Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Pass decorator_list decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A __author__ j.s@google.com (Jeff Scudder) N/A unittest N/A atom.mock_http N/A atom.http MockHttpClientUnitTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self client N/A N/A N/A atom mock_http MockHttpClient N/A testRepondToGet N/A N/A self N/A N/A N/A mock_response N/A N/A N/A atom http_interface HttpResponse body Hooray! status 200 reason OK N/A N/A N/A N/A self client add_response mock_response GET http://example.com/hooray N/A response N/A N/A N/A self client request GET http://example.com/hooray N/A N/A N/A self assertEquals N/A len N/A N/A self client recordings 1 N/A N/A N/A self assertEquals N/A response status 200 N/A N/A N/A self assertEquals N/A N/A response read Hooray! N/A testRecordResponse N/A N/A self N/A N/A N/A N/A N/A self client real_client N/A N/A N/A atom http ProxiedHttpClient N/A live_response N/A N/A N/A self client request GET http://www.google.com/base/feeds/snippets?max-results=1 N/A live_response_body N/A N/A live_response read N/A N/A N/A self assertEquals N/A live_response status 200 N/A N/A N/A self assertEquals N/A N/A live_response_body startswith <?xml True N/A N/A N/A self client real_client None N/A canned_response N/A N/A N/A self client request GET http://www.google.com/base/feeds/snippets?max-results=1 N/A canned_response_body N/A N/A canned_response read N/A N/A N/A self assertEquals N/A canned_response status 200 N/A N/A N/A self assertEquals canned_response_body live_response_body N/A testUnrecordedRequest N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self client request POST http://example.org N/A N/A N/A self fail N/A N/A N/A N/A N/A atom mock_http NoRecordingFound N/A N/A N/A N/A suite N/A N/A N/A N/A N/A N/A N/A unittest TestSuite N/A N/A N/A unittest makeSuite MockHttpClientUnitTest test N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main