Bump gcal_sync to 4.0.1 to fix Google Calendar config flow (#81873)

Bump gcal_sync to 4.0.1

This reverts test chagnes from PR #81562 that were actually incorrect given
the calendar "get" API returns less information that the "CalendarList" api.
This commit is contained in:
Allen Porter 2022-11-09 19:34:31 -08:00 committed by GitHub
parent 8b4dbbe593
commit f34de5072a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
"config_flow": true, "config_flow": true,
"dependencies": ["application_credentials"], "dependencies": ["application_credentials"],
"documentation": "https://www.home-assistant.io/integrations/calendar.google/", "documentation": "https://www.home-assistant.io/integrations/calendar.google/",
"requirements": ["gcal-sync==4.0.0", "oauth2client==4.1.3"], "requirements": ["gcal-sync==4.0.1", "oauth2client==4.1.3"],
"codeowners": ["@allenporter"], "codeowners": ["@allenporter"],
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"loggers": ["googleapiclient"] "loggers": ["googleapiclient"]

View File

@ -738,7 +738,7 @@ gTTS==2.2.4
garages-amsterdam==3.0.0 garages-amsterdam==3.0.0
# homeassistant.components.google # homeassistant.components.google
gcal-sync==4.0.0 gcal-sync==4.0.1
# homeassistant.components.geniushub # homeassistant.components.geniushub
geniushub-client==0.6.30 geniushub-client==0.6.30

View File

@ -554,7 +554,7 @@ gTTS==2.2.4
garages-amsterdam==3.0.0 garages-amsterdam==3.0.0
# homeassistant.components.google # homeassistant.components.google
gcal-sync==4.0.0 gcal-sync==4.0.1
# homeassistant.components.geocaching # homeassistant.components.geocaching
geocachingapi==0.2.1 geocachingapi==0.2.1

View File

@ -104,7 +104,7 @@ async def primary_calendar(
"""Fixture to return the primary calendar.""" """Fixture to return the primary calendar."""
mock_calendar_get( mock_calendar_get(
"primary", "primary",
{"id": primary_calendar_email, "summary": "Personal", "accessRole": "owner"}, {"id": primary_calendar_email, "summary": "Personal"},
exc=primary_calendar_error, exc=primary_calendar_error,
) )

View File

@ -768,7 +768,7 @@ async def test_assign_unique_id(
mock_calendar_get( mock_calendar_get(
"primary", "primary",
{"id": EMAIL_ADDRESS, "summary": "Personal", "accessRole": "reader"}, {"id": EMAIL_ADDRESS, "summary": "Personal"},
) )
mock_calendars_list({"items": [test_api_calendar]}) mock_calendars_list({"items": [test_api_calendar]})