1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Always setup demo platforms with device support from config entry (#94586)

* Always setup demo platforms with device support from config entry

* Adjust test fixutres

* Update tests depending on the demo integration
This commit is contained in:
Erik Montnemery
2023-06-14 16:50:35 +02:00
committed by GitHub
parent 1b8c72e644
commit 9a3077d64a
54 changed files with 491 additions and 351 deletions

View File

@@ -23,6 +23,11 @@ from tests.typing import ClientSessionGenerator
TEST_ENTITY_ID = "media_player.walkman"
@pytest.fixture(autouse=True)
def autouse_disable_platforms(disable_platforms):
"""Auto use the disable_platforms fixture."""
@pytest.fixture(name="mock_media_seek")
def media_player_media_seek_fixture():
"""Mock demo YouTube player media seek."""