mirror of
https://github.com/home-assistant/core.git
synced 2026-05-22 16:30:27 +01:00
fb8c7c58b6
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
15 lines
443 B
Python
15 lines
443 B
Python
"""Tests for ClimaCell const."""
|
|
import pytest
|
|
|
|
from homeassistant.components.climacell.const import ClimaCellSensorEntityDescription
|
|
from homeassistant.const import TEMP_FAHRENHEIT
|
|
|
|
|
|
async def test_post_init():
|
|
"""Test post initialization check for ClimaCellSensorEntityDescription."""
|
|
|
|
with pytest.raises(RuntimeError):
|
|
ClimaCellSensorEntityDescription(
|
|
key="a", name="b", unit_imperial=TEMP_FAHRENHEIT
|
|
)
|