Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const (#36233)
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const * Fix pylint * Use in tests * Search for "client_id" * Fix tests * Fix test * Fix test
This commit is contained in:
parent
b6407f77da
commit
1855c91988
66 changed files with 386 additions and 352 deletions
|
@ -2,12 +2,9 @@
|
|||
from spotipy import SpotifyException
|
||||
|
||||
from homeassistant import data_entry_flow, setup
|
||||
from homeassistant.components.spotify.const import (
|
||||
CONF_CLIENT_ID,
|
||||
CONF_CLIENT_SECRET,
|
||||
DOMAIN,
|
||||
)
|
||||
from homeassistant.components.spotify.const import DOMAIN
|
||||
from homeassistant.config_entries import SOURCE_USER, SOURCE_ZEROCONF
|
||||
from homeassistant.const import CONF_CLIENT_ID, CONF_CLIENT_SECRET
|
||||
from homeassistant.helpers import config_entry_oauth2_flow
|
||||
|
||||
from tests.async_mock import patch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue