diff --git a/homeassistant/components/onedrive/manifest.json b/homeassistant/components/onedrive/manifest.json index fcc922b3e46..899a5e77b47 100644 --- a/homeassistant/components/onedrive/manifest.json +++ b/homeassistant/components/onedrive/manifest.json @@ -9,5 +9,5 @@ "iot_class": "cloud_polling", "loggers": ["onedrive_personal_sdk"], "quality_scale": "bronze", - "requirements": ["onedrive-personal-sdk==0.0.9"] + "requirements": ["onedrive-personal-sdk==0.0.10"] } diff --git a/requirements_all.txt b/requirements_all.txt index 77b861ec918..1f5f6fcad9f 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1559,7 +1559,7 @@ omnilogic==0.4.5 ondilo==0.5.0 # homeassistant.components.onedrive -onedrive-personal-sdk==0.0.9 +onedrive-personal-sdk==0.0.10 # homeassistant.components.onvif onvif-zeep-async==3.2.5 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 151ff550d56..08331bcac87 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1307,7 +1307,7 @@ omnilogic==0.4.5 ondilo==0.5.0 # homeassistant.components.onedrive -onedrive-personal-sdk==0.0.9 +onedrive-personal-sdk==0.0.10 # homeassistant.components.onvif onvif-zeep-async==3.2.5 diff --git a/tests/components/onedrive/const.py b/tests/components/onedrive/const.py index 3739369887d..3ba54dc40d7 100644 --- a/tests/components/onedrive/const.py +++ b/tests/components/onedrive/const.py @@ -5,10 +5,10 @@ from json import dumps from onedrive_personal_sdk.models.items import ( AppRoot, - Contributor, File, Folder, Hashes, + IdentitySet, ItemParentReference, User, ) @@ -31,7 +31,7 @@ BACKUP_METADATA = { "size": 34519040, } -CONTRIBUTOR = Contributor( +IDENTITY_SET = IdentitySet( user=User( display_name="John Doe", id="id", @@ -47,7 +47,7 @@ MOCK_APPROOT = AppRoot( parent_reference=ItemParentReference( drive_id="mock_drive_id", id="id", path="path" ), - created_by=CONTRIBUTOR, + created_by=IDENTITY_SET, ) MOCK_BACKUP_FOLDER = Folder( @@ -58,7 +58,7 @@ MOCK_BACKUP_FOLDER = Folder( parent_reference=ItemParentReference( drive_id="mock_drive_id", id="id", path="path" ), - created_by=CONTRIBUTOR, + created_by=IDENTITY_SET, ) MOCK_BACKUP_FILE = File( @@ -73,7 +73,7 @@ MOCK_BACKUP_FILE = File( ), mime_type="application/x-tar", description="", - created_by=CONTRIBUTOR, + created_by=IDENTITY_SET, ) MOCK_METADATA_FILE = File( @@ -96,5 +96,5 @@ MOCK_METADATA_FILE = File( } ) ), - created_by=CONTRIBUTOR, + created_by=IDENTITY_SET, )