mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Remove asserting name in tts test (no entity platform) (#135726)
* Ensure entity platform in tts tests * Correct placement * Remove name test * Remove hass
This commit is contained in:
parent
f0c6b47522
commit
5a7b6cd7a0
@ -22,7 +22,6 @@ from homeassistant.config_entries import ConfigEntryState
|
|||||||
from homeassistant.const import ATTR_ENTITY_ID, STATE_UNKNOWN
|
from homeassistant.const import ATTR_ENTITY_ID, STATE_UNKNOWN
|
||||||
from homeassistant.core import HomeAssistant, State
|
from homeassistant.core import HomeAssistant, State
|
||||||
from homeassistant.exceptions import HomeAssistantError
|
from homeassistant.exceptions import HomeAssistantError
|
||||||
from homeassistant.helpers.typing import UNDEFINED
|
|
||||||
from homeassistant.setup import async_setup_component
|
from homeassistant.setup import async_setup_component
|
||||||
import homeassistant.util.dt as dt_util
|
import homeassistant.util.dt as dt_util
|
||||||
|
|
||||||
@ -64,7 +63,6 @@ async def test_default_entity_attributes() -> None:
|
|||||||
entity = DefaultEntity()
|
entity = DefaultEntity()
|
||||||
|
|
||||||
assert entity.hass is None
|
assert entity.hass is None
|
||||||
assert entity.name is UNDEFINED
|
|
||||||
assert entity.default_language == DEFAULT_LANG
|
assert entity.default_language == DEFAULT_LANG
|
||||||
assert entity.supported_languages == SUPPORT_LANGUAGES
|
assert entity.supported_languages == SUPPORT_LANGUAGES
|
||||||
assert entity.supported_options is None
|
assert entity.supported_options is None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user