Module Import alias Import alias Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A sys N/A os N/A time pydrive.auth GoogleAuth GoogleAuthTest N/A N/A unittest TestCase N/A N/A Tests basic OAuth2 operations of auth.GoogleAuth. test_01_LocalWebserverAuthWithClientConfigFromFile N/A N/A self N/A N/A N/A N/A N/A self DeleteOldCredentialsFile credentials/1.dat N/A ga N/A GoogleAuth settings/test1.yaml N/A N/A N/A ga LocalWebserverAuth N/A N/A N/A self assertEqual N/A ga access_token_expired False N/A N/A N/A self CheckCredentialsFile credentials/1.dat N/A N/A N/A time sleep 1 N/A test_02_LocalWebserverAuthWithClientConfigFromSettings N/A N/A self N/A N/A N/A N/A N/A self DeleteOldCredentialsFile credentials/2.dat N/A ga N/A GoogleAuth settings/test2.yaml N/A N/A N/A ga LocalWebserverAuth N/A N/A N/A self assertEqual N/A ga access_token_expired False N/A N/A N/A self CheckCredentialsFile credentials/2.dat N/A N/A N/A time sleep 1 N/A test_03_LocalWebServerAuthWithNoCredentialsSaving N/A N/A self N/A N/A N/A N/A N/A self DeleteOldCredentialsFile credentials/4.dat N/A ga N/A GoogleAuth settings/test3.yaml N/A N/A N/A ga LocalWebserverAuth N/A N/A N/A self assertEqual N/A ga access_token_expired False N/A N/A N/A self CheckCredentialsFile credentials/4.dat no_file True N/A N/A N/A time sleep 1 N/A test_04_CommandLineAuthWithClientConfigFromFile N/A N/A self N/A N/A N/A N/A N/A self DeleteOldCredentialsFile credentials/1.dat N/A ga N/A GoogleAuth settings/test4.yaml N/A N/A N/A ga CommandLineAuth N/A N/A N/A self assertEqual N/A ga access_token_expired False N/A N/A N/A self CheckCredentialsFile credentials/1.dat N/A N/A N/A time sleep 1 N/A test_05_ConfigFromSettingsWithoutOauthScope N/A N/A self N/A N/A N/A ga N/A GoogleAuth settings/test5.yaml N/A N/A N/A ga LocalWebserverAuth N/A N/A N/A self assertEqual N/A ga access_token_expired False N/A N/A N/A time sleep 1 N/A DeleteOldCredentialsFile N/A N/A self credentials N/A N/A N/A N/A N/A N/A N/A os remove credentials N/A N/A N/A OSError N/A N/A N/A CheckCredentialsFile N/A N/A self credentials no_file N/A False N/A N/A ga N/A GoogleAuth settings/default.yaml N/A N/A N/A ga LoadCredentialsFile credentials N/A N/A N/A self assertEqual N/A ga access_token_expired no_file N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main