mirror of
https://github.com/home-assistant/core.git
synced 2026-05-04 03:51:12 +02:00
Include deprecated constants in wildcard imports (#107114)
This commit is contained in:
@@ -14,6 +14,7 @@ from tests.common import (
|
||||
MockConfigEntry,
|
||||
MockModule,
|
||||
MockPlatform,
|
||||
help_test_all,
|
||||
import_and_test_deprecated_constant_enum,
|
||||
mock_config_flow,
|
||||
mock_integration,
|
||||
@@ -197,6 +198,11 @@ async def test_entity_category_config_raises_error(
|
||||
)
|
||||
|
||||
|
||||
def test_all() -> None:
|
||||
"""Test module.__all__ is correctly set."""
|
||||
help_test_all(binary_sensor)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"device_class",
|
||||
list(binary_sensor.BinarySensorDeviceClass),
|
||||
|
||||
Reference in New Issue
Block a user