Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias orelse ImportFrom alias ImportFrom alias alias Import alias identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Dict If CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body For NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str keyword Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str keyword NameLoad keyword IfExp Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Return Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call NameLoad While CompareGt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignSub NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad 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 Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str 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 BinOpMult Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad 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 Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult Num Num decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad BinOpMod Str NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Delete SubscriptDel NameLoad Index Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Return Call NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Call NameLoad
N/A N/A json N/A logging N/A os N/A re N/A requests N/A sys N/A traceback N/A unittest N/A N/A N/A N/A sys version_info N/A 0 3 N/A urllib.parse urljoin N/A urlparse urljoin akamai.edgegrid EdgeGridAuth EdgeRc N/A akamai.edgegrid.edgegrid eg N/A mydir N/A N/A N/A os path abspath N/A N/A N/A os path dirname __file__ N/A logger N/A N/A logging getLogger __name__ EdgeGridTest N/A N/A unittest TestCase N/A __init__ N/A N/A self testdata testcase N/A None None N/A N/A N/A N/A N/A super EdgeGridTest self __init__ N/A N/A self testdata testdata N/A N/A self testcase testcase N/A N/A self maxDiff None N/A runTest N/A N/A self N/A N/A N/A auth N/A EdgeGridAuth client_token N/A N/A self testdata N/A client_token client_secret N/A N/A self testdata N/A client_secret access_token N/A N/A self testdata N/A access_token headers_to_sign N/A N/A self testdata N/A headers_to_sign max_body N/A N/A self testdata N/A max_body N/A headers N/A N/A N/A headers N/A N/A self testcase N/A request N/A N/A h N/A N/A N/A self testcase N/A request N/A headers N/A N/A N/A k v N/A N/A h items N/A N/A N/A headers N/A k v N/A request N/A N/A requests Request method N/A N/A N/A self testcase N/A request N/A method url N/A urljoin N/A N/A self testdata N/A base_url N/A N/A N/A self testcase N/A request N/A path headers headers data N/A N/A N/A N/A N/A self testcase N/A request get data N/A N/A N/A N/A self testcase N/A request get data None N/A N/A N/A auth_header N/A N/A auth make_auth_header N/A N/A request prepare N/A N/A self testdata N/A timestamp N/A N/A self testdata N/A nonce N/A N/A N/A Exception N/A e N/A N/A N/A N/A logger debug Got exception from make_auth_header exc_info True N/A N/A N/A self assertEquals N/A str e N/A N/A self testcase N/A failsWithMessage N/A N/A N/A N/A self assertEqual auth_header N/A N/A self testcase N/A expectedAuthorization N/A N/A EGSimpleTest N/A N/A unittest TestCase N/A test_nonce N/A N/A self N/A N/A N/A count 100 N/A nonces N/A set N/A N/A count 0 N/A N/A n N/A N/A eg new_nonce N/A N/A N/A self assertNotIn n nonces N/A count 1 N/A test_timestamp N/A N/A self N/A N/A N/A valid_timestamp N/A N/A re compile 
        ^
            \d{4} # year
            [0-1][0-9] # month
            [0-3][0-9] # day
            T     
            [0-2][0-9] # hour
            :
            [0-5][0-9] # minute
            :
            [0-5][0-9] # second
            \+0000 # timezone
        $
         N/A re VERBOSE N/A N/A N/A self assertRegexpMatches N/A N/A eg eg_timestamp valid_timestamp N/A test_defaults N/A N/A self N/A N/A N/A auth N/A EdgeGridAuth client_token xxx client_secret xxx access_token xxx N/A N/A N/A self assertEqual N/A auth max_body 2048 N/A N/A N/A self assertEqual N/A auth headers_to_sign N/A N/A test_edgerc_default N/A N/A self N/A N/A N/A auth N/A N/A EdgeGridAuth from_edgerc N/A N/A N/A os path join mydir sample_edgerc N/A N/A N/A self assertEqual N/A auth client_token xxxx-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx N/A N/A N/A self assertEqual N/A auth client_secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= N/A N/A N/A self assertEqual N/A auth access_token xxxx-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx N/A N/A N/A self assertEqual N/A auth max_body 131072 N/A N/A N/A self assertEqual N/A auth headers_to_sign N/A N/A test_edgerc_broken N/A N/A self N/A N/A N/A auth N/A N/A EdgeGridAuth from_edgerc N/A N/A N/A os path join mydir sample_edgerc broken N/A N/A N/A self assertEqual N/A auth client_secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= N/A N/A N/A self assertEqual N/A auth access_token xxxx-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx N/A N/A N/A self assertEqual N/A auth max_body N/A 128 1024 N/A N/A N/A self assertEqual N/A auth headers_to_sign N/A N/A test_edgerc_unparseable N/A N/A self N/A N/A N/A N/A N/A auth N/A N/A EdgeGridAuth from_edgerc N/A N/A N/A os path join mydir edgerc_test_doesnt_parse N/A N/A N/A self fail should have thrown an exception N/A N/A N/A N/A N/A test_edgerc_headers N/A N/A self N/A N/A N/A auth N/A N/A EdgeGridAuth from_edgerc N/A N/A N/A os path join mydir sample_edgerc headers N/A N/A N/A self assertEqual N/A auth headers_to_sign N/A x-mything1 x-mything2 N/A test_edgerc_from_object N/A N/A self N/A N/A N/A auth N/A N/A EdgeGridAuth from_edgerc N/A EdgeRc N/A N/A N/A os path join mydir sample_edgerc N/A N/A N/A self assertEqual N/A auth client_token xxxx-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx N/A N/A N/A self assertEqual N/A auth client_secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= N/A N/A N/A self assertEqual N/A auth access_token xxxx-xxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx N/A N/A N/A self assertEqual N/A auth max_body 131072 N/A N/A N/A self assertEqual N/A auth headers_to_sign N/A N/A test_edgerc_dashes N/A N/A self N/A N/A N/A auth N/A N/A EdgeGridAuth from_edgerc N/A N/A N/A os path join mydir sample_edgerc dashes N/A N/A N/A self assertEqual N/A auth max_body N/A 128 1024 N/A N/A suite N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A open N/A %s/testdata.json mydir testdata N/A N/A testdata N/A N/A json load testdata N/A tests N/A testdata N/A tests N/A N/A testdata N/A tests N/A test tests N/A N/A N/A N/A suite addTest N/A EdgeGridTest testdata test N/A N/A N/A suite addTest N/A EGSimpleTest test_nonce N/A N/A N/A suite addTest N/A EGSimpleTest test_timestamp N/A N/A N/A suite addTest N/A EGSimpleTest test_defaults N/A N/A N/A suite addTest N/A EGSimpleTest test_edgerc_default N/A N/A N/A suite addTest N/A EGSimpleTest test_edgerc_broken N/A N/A N/A suite addTest N/A EGSimpleTest test_edgerc_unparseable N/A N/A N/A suite addTest N/A EGSimpleTest test_edgerc_headers N/A N/A N/A suite addTest N/A EGSimpleTest test_edgerc_from_object N/A suite N/A load_tests N/A N/A loader tests pattern N/A None None None N/A N/A N/A suite N/A N/A N/A __name__ __main__ N/A N/A runner N/A N/A N/A N/A unittest TextTestRunner run N/A suite