Migrate poo recorder and align Alembic naming
This commit is contained in:
@@ -97,7 +97,7 @@ def test_homeassistant_client_raises_on_http_error(monkeypatch: pytest.MonkeyPat
|
||||
|
||||
|
||||
def test_homeassistant_client_raises_when_not_configured() -> None:
|
||||
client = HomeAssistantClient(settings=Settings())
|
||||
client = HomeAssistantClient(settings=Settings(_env_file=None))
|
||||
|
||||
with pytest.raises(HomeAssistantConfigError, match="not configured"):
|
||||
client.publish_sensor(entity_id="sensor.test_status", state="ok")
|
||||
|
||||
Reference in New Issue
Block a user