Module Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Str Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Str Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareNotIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Num keyword Str keyword Dict Str Num Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad Dict Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad Dict Str Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return Num decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword ListLoad Str Str attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Dict Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Index Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num decorator_list decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str 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 gdata.client N/A gdata.gauth N/A gdata.data N/A atom.mock_http_core N/A StringIO ClientLoginTest N/A N/A unittest TestCase N/A test_token_request N/A N/A self N/A N/A N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core SettableHttpClient 200 OK SID=DQAAAGgA...7Zg8CTN
LSID=DQAAAGsA...lk8BBbG
Auth=DQAAAGgA...dk3fA5N N/A Content-Type text/plain N/A token N/A N/A client request_client_login_token email pw cp test N/A N/A N/A self assertTrue N/A isinstance token N/A N/A gdata gauth ClientLoginToken N/A N/A N/A self assertEqual N/A token token_string DQAAAGgA...dk3fA5N N/A N/A N/A N/A client http_client set_response 200 OK SID=12345
LSID=34567 N/A N/A N/A N/A self assertRaises N/A N/A gdata client ClientLoginTokenMissing N/A client request_client_login_token email pw N/A N/A N/A N/A client http_client set_response 302 ignored N/A N/A N/A N/A self assertRaises N/A N/A gdata client BadAuthenticationServiceURL N/A client request_client_login_token email pw N/A N/A N/A N/A client http_client set_response 403 Access Forbidden Url=http://www.google.com/login/captcha
Error=CaptchaRequired
CaptchaToken=DQAAAGgA...dkI1LK9
CaptchaUrl=Captcha?ctoken=HiteT4bVoP6-yFkHPibe7O9EqxeiI7lUSN N/A N/A N/A N/A token N/A N/A client request_client_login_token email pw N/A N/A N/A self fail should raise a CaptchaChallenge on a 403 with a CaptchRequired error. N/A N/A N/A N/A N/A gdata client CaptchaChallenge N/A challenge N/A N/A N/A N/A self assertEquals N/A challenge captcha_url http://www.google.com/accounts/Captcha?ctoken=HiteT4bVoP6-yFkHPibe7O9EqxeiI7lUSN N/A N/A N/A self assertEquals N/A challenge captcha_token DQAAAGgA...dkI1LK9 N/A N/A N/A N/A client http_client set_response 404 ignored N/A N/A N/A N/A self assertRaises N/A N/A gdata client ClientLoginFailed N/A client request_client_login_token email pw N/A test_client_login N/A N/A self N/A N/A N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core SettableHttpClient 200 OK SID=DQAAAGgA...7Zg8CTN
LSID=DQAAAGsA...lk8BBbG
Auth=DQAAAGgA...dk3fA5N N/A Content-Type text/plain N/A N/A N/A client client_login me@example.com password wise unit test N/A N/A N/A self assertTrue N/A isinstance N/A client auth_token N/A N/A gdata gauth ClientLoginToken N/A N/A N/A self assertEqual N/A N/A client auth_token token_string DQAAAGgA...dk3fA5N N/A N/A AuthSubTest N/A N/A unittest TestCase N/A test_get_and_upgrade_token N/A N/A self N/A N/A N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core SettableHttpClient 200 OK Token=UpgradedTokenVal
Extra data N/A Content-Type text/plain N/A page_url http://example.com/showcalendar.html?token=CKF50YzIHxCTKMAg N/A N/A client auth_token N/A N/A N/A N/A gdata gauth AuthSubToken from_url page_url N/A N/A N/A self assertTrue N/A isinstance N/A client auth_token N/A N/A gdata gauth AuthSubToken N/A N/A N/A self assertEqual N/A N/A client auth_token token_string CKF50YzIHxCTKMAg N/A upgraded N/A N/A client upgrade_token N/A N/A N/A self assertTrue N/A isinstance N/A client auth_token N/A N/A gdata gauth AuthSubToken N/A N/A N/A self assertEqual N/A N/A client auth_token token_string UpgradedTokenVal N/A N/A N/A self assertEqual N/A client auth_token upgraded N/A N/A N/A N/A client http_client set_response 200 OK Token=4567 N/A N/A upgraded N/A N/A client upgrade_token N/A N/A N/A N/A gdata gauth AuthSubToken from_url ?token=1234 N/A N/A N/A self assertEqual N/A upgraded token_string 4567 N/A N/A N/A self assertEqual N/A N/A client auth_token token_string UpgradedTokenVal N/A N/A N/A self assertNotEqual N/A client auth_token upgraded N/A N/A client auth_token None N/A N/A N/A self assertRaises N/A N/A gdata client UnableToUpgradeToken N/A client upgrade_token None N/A N/A N/A self assertRaises N/A N/A gdata client UnableToUpgradeToken N/A client upgrade_token N/A N/A OAuthTest N/A N/A unittest TestCase N/A test_hmac_flow N/A N/A self N/A N/A N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core SettableHttpClient 200 OK oauth_token=ab3cd9j4ks7&oauth_token_secret=ZXhhbXBsZS N/A N/A request_token N/A N/A client get_oauth_token N/A http://example.com/service http://example.net/myapp consumer consumer_secret secret N/A N/A N/A self assertEqual N/A request_token token ab3cd9j4ks7 N/A N/A N/A self assertEqual N/A request_token token_secret ZXhhbXBsZS N/A N/A N/A self assertEqual N/A request_token auth_state N/A N/A gdata gauth REQUEST_TOKEN N/A auth_header N/A N/A N/A N/A client http_client last_request headers N/A Authorization N/A N/A N/A self assertTrue N/A OAuth auth_header N/A N/A N/A self assertTrue N/A oauth_callback="http%3A%2F%2Fexample.net%2Fmyapp" auth_header N/A N/A N/A self assertTrue N/A oauth_version="1.0" auth_header N/A N/A N/A self assertTrue N/A oauth_signature_method="HMAC-SHA1" auth_header N/A N/A N/A self assertTrue N/A oauth_consumer_key="consumer" auth_header N/A authorize_url N/A N/A request_token generate_authorization_url N/A N/A N/A self assertTrue N/A N/A N/A str authorize_url startswith https://www.google.com/accounts/OAuthAuthorizeToken N/A N/A N/A self assertTrue N/A oauth_token=ab3cd9j4ks7 N/A str authorize_url N/A redirected_url http://example.net/myapp?oauth_token=CKF5zz&oauth_verifier=Xhhbas N/A N/A N/A N/A gdata gauth authorize_request_token request_token redirected_url N/A N/A N/A self assertEqual N/A request_token token CKF5zz N/A N/A N/A self assertEqual N/A request_token verifier Xhhbas N/A N/A N/A self assertEqual N/A request_token auth_state N/A N/A gdata gauth AUTHORIZED_REQUEST_TOKEN N/A N/A N/A N/A client http_client set_response 200 OK oauth_token=3cd9Fj417&oauth_token_secret=Xhrh6bXBs N/A N/A access_token N/A N/A client get_access_token request_token N/A N/A N/A self assertEqual N/A request_token token 3cd9Fj417 N/A N/A N/A self assertEqual N/A request_token token_secret Xhrh6bXBs N/A N/A N/A self assertTrue N/A N/A request_token verifier None N/A N/A N/A self assertEqual N/A request_token auth_state N/A N/A gdata gauth ACCESS_TOKEN N/A N/A N/A self assertEqual N/A request_token token N/A access_token token N/A N/A N/A self assertEqual N/A request_token token_secret N/A access_token token_secret N/A N/A N/A self assertTrue N/A N/A access_token verifier None N/A N/A N/A self assertEqual N/A request_token auth_state N/A access_token auth_state N/A auth_header N/A N/A N/A N/A client http_client last_request headers N/A Authorization N/A N/A N/A self assertTrue N/A OAuth auth_header N/A N/A N/A self assertTrue N/A oauth_callback=" auth_header N/A N/A N/A self assertTrue N/A oauth_version="1.0" auth_header N/A N/A N/A self assertTrue N/A oauth_verifier="Xhhbas" auth_header N/A N/A N/A self assertTrue N/A oauth_signature_method="HMAC-SHA1" auth_header N/A N/A N/A self assertTrue N/A oauth_consumer_key="consumer" auth_header N/A N/A RequestTest N/A N/A unittest TestCase N/A test_simple_request N/A N/A self N/A N/A N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core EchoHttpClient N/A response N/A N/A client request GET https://example.com/test N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Host example.com:None N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Uri /test N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Scheme https N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Method GET N/A http_request N/A N/A N/A atom http_core HttpRequest uri N/A N/A N/A atom http_core Uri scheme http host example.net port 8080 method POST headers N/A X 1 N/A N/A N/A http_request add_body_part test text/plain N/A response N/A N/A client request http_request http_request N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Host example.net:8080 N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Uri / N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Scheme http N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Method POST N/A N/A N/A self assertEqual N/A N/A response getheader Content-Type text/plain N/A N/A N/A self assertEqual N/A N/A response getheader X 1 N/A N/A N/A self assertEqual N/A N/A response read test N/A response N/A N/A client request uri /new/path?p=1 http_request http_request N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Host example.net:8080 N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Uri /new/path?p=1 N/A N/A N/A self assertEqual N/A N/A response getheader Echo-Scheme http N/A N/A N/A self assertEqual N/A N/A response read test N/A test_gdata_version_header N/A N/A self N/A N/A N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core EchoHttpClient N/A response N/A N/A client request GET http://example.com N/A N/A N/A self assertEqual N/A N/A response getheader GData-Version None N/A N/A client api_version 2 N/A response N/A N/A client request GET http://example.com N/A N/A N/A self assertEqual N/A N/A response getheader GData-Version 2 N/A test_redirects N/A N/A self N/A N/A N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core MockHttpClient N/A first_request N/A N/A N/A atom http_core HttpRequest http://example.com/1 POST N/A N/A N/A N/A client http_client add_response first_request 302 None N/A Location http://example.com/1?gsessionid=12 N/A second_request N/A N/A N/A atom http_core HttpRequest http://example.com/1?gsessionid=12 POST N/A N/A N/A N/A client http_client AddResponse second_request 200 OK body Done N/A response N/A N/A client Request POST http://example.com/1 N/A N/A N/A self assertEqual N/A response status 200 N/A N/A N/A self assertEqual N/A response reason OK N/A N/A N/A self assertEqual N/A N/A response read Done N/A redirect_loop_request N/A N/A N/A atom http_core HttpRequest http://example.com/2?gsessionid=loop PUT N/A N/A N/A N/A client http_client add_response redirect_loop_request 302 None N/A Location http://example.com/2?gsessionid=loop N/A N/A N/A response N/A N/A client request method PUT uri http://example.com/2?gsessionid=loop N/A N/A N/A self fail Loop URL should have redirected forever. N/A N/A N/A N/A N/A gdata client RedirectError N/A err N/A N/A N/A N/A self assert_ N/A N/A N/A str err startswith Too many redirects from server N/A test_exercise_exceptions N/A N/A self N/A N/A N/A N/A test_converter_vs_desired_class N/A N/A self N/A N/A bad_converter N/A N/A string N/A N/A N/A 1 N/A TestClass N/A N/A N/A atom core XmlElement N/A N/A _qname {http://www.w3.org/2005/Atom}entry N/A N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core EchoHttpClient N/A test_entry N/A N/A N/A gdata data GDEntry N/A result N/A N/A client post test_entry http://example.com N/A N/A N/A self assertTrue N/A isinstance result N/A N/A gdata data GDEntry N/A result N/A N/A client post test_entry http://example.com converter bad_converter N/A N/A N/A self assertEquals result 1 N/A result N/A N/A client post test_entry http://example.com desired_class TestClass N/A N/A N/A self assertTrue N/A isinstance result TestClass N/A N/A QueryTest N/A N/A unittest TestCase N/A test_query_modifies_request N/A N/A self N/A N/A N/A request N/A N/A N/A atom http_core HttpRequest N/A N/A N/A N/A N/A N/A gdata client Query text_query foo categories N/A a b modify_request request N/A N/A N/A self assertEqual N/A N/A request uri query N/A q categories foo a,b N/A test_client_uses_query_modification N/A N/A self N/A N/A N/A If the Query is passed as an unexpected param it should apply N/A client N/A N/A N/A gdata client GDClient N/A N/A client http_client N/A N/A N/A atom mock_http_core EchoHttpClient N/A query N/A N/A N/A gdata client Query max_results 7 N/A N/A client http_client N/A N/A N/A atom mock_http_core SettableHttpClient 201 CREATED N/A N/A N/A N/A N/A gdata data GDEntry ToString N/A N/A response N/A N/A client get https://example.com/foo a_random_param query N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A client http_client last_request uri query N/A max-results 7 N/A N/A VersionConversionTest N/A N/A unittest TestCase N/A test_use_default_version N/A N/A self N/A N/A N/A N/A N/A self assertEquals N/A N/A N/A gdata client get_xml_version None 1 N/A test_str_to_int_version N/A N/A self N/A N/A N/A N/A N/A self assertEquals N/A N/A N/A gdata client get_xml_version 1 1 N/A N/A N/A self assertEquals N/A N/A N/A gdata client get_xml_version 2 2 N/A N/A N/A self assertEquals N/A N/A N/A gdata client get_xml_version 2.1.2 2 N/A N/A N/A self assertEquals N/A N/A N/A gdata client get_xml_version 10.4 10 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 ClientLoginTest test N/A N/A unittest makeSuite AuthSubTest test N/A N/A unittest makeSuite OAuthTest test N/A N/A unittest makeSuite RequestTest test N/A N/A unittest makeSuite VersionConversionTest test N/A N/A unittest makeSuite QueryTest test N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main