Module Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Import alias ImportFrom alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Num NameLoad Call AttributeLoad NameLoad attr Dict Str Str Str Str Dict Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Index Str attr Index Str attr attr attr Str Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Index Str Str Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Index Num Str Assert Call NameLoad GeneratorExp CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr decorator_list Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad Num NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Index Str attr Index Str attr attr attr NameLoad Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Index Num NameLoad Assert CompareEq SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Index Num Str decorator_list Call NameLoad Str Call NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A N/A unittest.mock patch N/A N/A N/A ImportError N/A mock patch N/A onedrivesdk onedrivesdk.http_response HttpResponse N/A json TestStreams N/A N/A unittest TestCase N/A test_put N/A N/A self MockHttpProvider MockAuthProvider N/A N/A N/A response N/A HttpResponse 200 None N/A N/A json dumps N/A name folder id test1 N/A test!id N/A instance N/A MockHttpProvider return_value N/A N/A N/A instance send return_value response N/A instance N/A MockAuthProvider return_value N/A N/A N/A instance authenticate return_value blah N/A N/A N/A instance authenticate_request return_value None N/A http_provider N/A N/A onedrivesdk HttpProvider N/A auth_provider N/A N/A onedrivesdk AuthProvider N/A client N/A N/A onedrivesdk OneDriveClient onedriveurl/ http_provider auth_provider N/A response_item N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A client drives N/A me items N/A root children N/A newFile.txt content request upload ./myPath/myFile.txt N/A N/A N/A N/A N/A N/A N/A client http_provider send call_args N/A 1 N/A path ./myPath/myFile.txt N/A N/A N/A N/A N/A N/A N/A client http_provider send call_args N/A 0 N/A 2 onedriveurl/drives/me/items/root/children/newFile.txt/content N/A N/A all N/A N/A item N/A N/A N/A response_item _prop_dict items N/A item N/A N/A N/A N/A json loads N/A response content items N/A N/A patch onedrivesdk.HttpProvider N/A patch onedrivesdk.AuthProvider test_download N/A N/A self MockHttpProvider MockAuthProvider N/A N/A N/A path ./myPath/myFile.txt N/A response N/A HttpResponse 200 None None N/A instance N/A MockHttpProvider return_value N/A N/A N/A instance download return_value response N/A instance N/A MockAuthProvider return_value N/A N/A N/A instance authenticate return_value blah N/A N/A N/A instance authenticate_request return_value None N/A http_provider N/A N/A onedrivesdk HttpProvider N/A auth_provider N/A N/A onedrivesdk AuthProvider N/A client N/A N/A onedrivesdk OneDriveClient onedriveurl/ http_provider auth_provider N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A client drives N/A me items N/A root children N/A newFile.txt content request download path N/A N/A N/A N/A N/A N/A N/A client http_provider download call_args N/A 0 N/A 2 path N/A N/A N/A N/A N/A N/A N/A client http_provider download call_args N/A 0 N/A 1 onedriveurl/drives/me/items/root/children/newFile.txt/content N/A N/A patch onedrivesdk.HttpProvider N/A patch onedrivesdk.AuthProvider N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main