Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str keyword NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Str keyword NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A Serializer tests for the Box addon. N/A mock nose.tools * website.addons.base.testing.serializers StorageAddonSerializerTestSuiteMixin website.addons.googledrive.model GoogleDriveProvider website.addons.googledrive.tests.factories GoogleDriveAccountFactory website.addons.googledrive.serializer GoogleDriveSerializer tests.base OsfTestCase TestGoogleDriveSerializer N/A StorageAddonSerializerTestSuiteMixin OsfTestCase N/A N/A addon_short_name googledrive N/A Serializer GoogleDriveSerializer N/A ExternalAccountFactory GoogleDriveAccountFactory N/A client GoogleDriveProvider set_provider_id N/A N/A self pid N/A N/A N/A N/A N/A self node_settings folder_id pid N/A test_serialized_node_settings_unauthorized N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A type N/A self node_settings has_auth return_value False N/A N/A serialized N/A N/A self ser serialized_node_settings N/A setting N/A self required_settings N/A N/A N/A assert_in setting N/A serialized N/A result N/A test_serialized_node_settings_authorized N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A type N/A self node_settings has_auth return_value True N/A N/A serialized N/A N/A self ser serialized_node_settings N/A setting N/A self required_settings N/A N/A N/A assert_in setting N/A serialized N/A result N/A setting N/A self required_settings_authorized N/A N/A N/A assert_in setting N/A serialized N/A result N/A N/A