Remove asserting name in tts test (no entity platform) (#135726)

* Ensure entity platform in tts tests

* Correct placement

* Remove name test

* Remove hass
pull/135875/head
G Johansson 2025-01-18 14:47:53 +01:00 committed by GitHub
parent f0c6b47522
commit 5a7b6cd7a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -22,7 +22,6 @@ from homeassistant.config_entries import ConfigEntryState
from homeassistant.const import ATTR_ENTITY_ID, STATE_UNKNOWN
from homeassistant.core import HomeAssistant, State
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers.typing import UNDEFINED
from homeassistant.setup import async_setup_component
import homeassistant.util.dt as dt_util
@ -64,7 +63,6 @@ async def test_default_entity_attributes() -> None:
entity = DefaultEntity()
assert entity.hass is None
assert entity.name is UNDEFINED
assert entity.default_language == DEFAULT_LANG
assert entity.supported_languages == SUPPORT_LANGUAGES
assert entity.supported_options is None