hass-core/tests
Franck Nijhof 7e4b9adc3d
Rewrite of Spotify integration (#30717)
* Rewrite of Spotify integration

* Update homeassistant/components/spotify/config_flow.py

Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>

* Remove configurator dependency

* Strip whitespace from device model in case Spotify product is missing

* Ensure domain dict exists in hass data on setup entry

* Simply config validation for client id and secret

* Abort flow on any exception from spotipy

* Add tests for config flow

* Gen requirements all

* Add test package __init__

* Remove Spotify from coveragerc

* Made alias handling more robuust

* Fix supported_features for Spotify free and open accounts

* Improve error message in the logs

* Re-implement Spotify media_player

* Change media content type when play a playlist

* Process review suggestions

* Move Spotify init, static current user and supported_features

* Remove unneeded me call

* Remove playlist content type due to frontend issues

* Improve playlist handling, when context is missing

* Handle entity disabled correctly

* Handle being offline/unavailable correctly

* Bump Spotipy to 2.7.1

* Update coverage RC, mark integration silver

* Remove URI limitation, lib supports all Spotify URI's now

* Final cleanup

* Addresses Pylint error

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-01-24 18:47:22 +01:00
..
auth Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
components Rewrite of Spotify integration (#30717) 2020-01-24 18:47:22 +01:00
fixtures Update pynws to v0.10.1 (#30662) 2020-01-15 12:01:47 -08:00
hassfest Make Hassfest stricter pt 2 (#30068) 2019-12-19 14:00:22 +01:00
helpers Add foundation for integration services (#30813) 2020-01-19 17:55:18 -08:00
mock Black 2019-07-31 12:25:30 -07:00
resources
scripts Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00
test_util Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
testing_config Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
util Enable some more bandit checks (#30857) 2020-01-20 18:44:55 +02:00
__init__.py
bandit.yaml Enable some more bandit checks (#30857) 2020-01-20 18:44:55 +02:00
common.py Restore unit_of_measurement from entity registry (#30780) 2020-01-15 08:09:05 -08:00
conftest.py Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00
test_bootstrap.py Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00
test_config.py Enable some more bandit checks (#30857) 2020-01-20 18:44:55 +02:00
test_config_entries.py Add update_entry dict to unique ID flow abort helper (#31090) 2020-01-23 11:21:19 -08:00
test_core.py Enable some more bandit checks (#30857) 2020-01-20 18:44:55 +02:00
test_data_entry_flow.py Rework FlowManager to use inheritance (#30133) 2020-01-03 11:52:01 +01:00
test_loader.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
test_main.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_requirements.py Sort imports for requirements.py and its test using isort (#29836) 2019-12-11 12:12:06 +01:00
test_setup.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00