mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 03:08:01 +02:00
Cleanup mqtt PLATFORMS constant and CI-test platform filters (#112847)
This commit is contained in:
@ -96,7 +96,6 @@ from homeassistant.const import (
|
||||
STATE_OFF,
|
||||
STATE_ON,
|
||||
STATE_UNKNOWN,
|
||||
Platform,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant, State
|
||||
from homeassistant.helpers.json import json_dumps
|
||||
@ -170,13 +169,6 @@ COLOR_MODES_CONFIG = {
|
||||
}
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def light_platform_only():
|
||||
"""Only setup the light platform to speed up tests."""
|
||||
with patch("homeassistant.components.mqtt.PLATFORMS", [Platform.LIGHT]):
|
||||
yield
|
||||
|
||||
|
||||
class JsonValidator:
|
||||
"""Helper to compare JSON."""
|
||||
|
||||
|
Reference in New Issue
Block a user