-
- Downloads
Add dependency on google-photos-library-api: Change the Google Photos client...
Add dependency on google-photos-library-api: Change the Google Photos client library to a new external package (#125040) * Change the Google Photos client library to a new external package * Remove mime type guessing * Update tests to mock out the client library and iterators * Update homeassistant/components/google_photos/media_source.py Co-authored-by:Joost Lekkerkerker <joostlek@outlook.com> --------- Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com>
Showing
- homeassistant/components/google_photos/__init__.py 7 additions, 6 deletionshomeassistant/components/google_photos/__init__.py
- homeassistant/components/google_photos/api.py 13 additions, 185 deletionshomeassistant/components/google_photos/api.py
- homeassistant/components/google_photos/config_flow.py 10 additions, 5 deletionshomeassistant/components/google_photos/config_flow.py
- homeassistant/components/google_photos/exceptions.py 0 additions, 7 deletionshomeassistant/components/google_photos/exceptions.py
- homeassistant/components/google_photos/manifest.json 2 additions, 2 deletionshomeassistant/components/google_photos/manifest.json
- homeassistant/components/google_photos/media_source.py 56 additions, 49 deletionshomeassistant/components/google_photos/media_source.py
- homeassistant/components/google_photos/services.py 33 additions, 11 deletionshomeassistant/components/google_photos/services.py
- homeassistant/components/google_photos/strings.json 6 additions, 0 deletionshomeassistant/components/google_photos/strings.json
- homeassistant/components/google_photos/types.py 7 additions, 0 deletionshomeassistant/components/google_photos/types.py
- requirements_all.txt 3 additions, 1 deletionrequirements_all.txt
- requirements_test_all.txt 3 additions, 1 deletionrequirements_test_all.txt
- tests/components/google_photos/conftest.py 84 additions, 43 deletionstests/components/google_photos/conftest.py
- tests/components/google_photos/fixtures/api_not_enabled_response.json 0 additions, 17 deletions...ents/google_photos/fixtures/api_not_enabled_response.json
- tests/components/google_photos/fixtures/list_albums.json 1 addition, 0 deletionstests/components/google_photos/fixtures/list_albums.json
- tests/components/google_photos/fixtures/not_dict.json 0 additions, 1 deletiontests/components/google_photos/fixtures/not_dict.json
- tests/components/google_photos/test_config_flow.py 26 additions, 19 deletionstests/components/google_photos/test_config_flow.py
- tests/components/google_photos/test_media_source.py 16 additions, 42 deletionstests/components/google_photos/test_media_source.py
- tests/components/google_photos/test_services.py 21 additions, 30 deletionstests/components/google_photos/test_services.py
Loading
Please register or sign in to comment