mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Enable Ruff PT013 (#86757)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -6,7 +6,6 @@ from typing import Any
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
from pytest import LogCaptureFixture
|
||||
|
||||
from homeassistant import config as hass_config
|
||||
from homeassistant.components.group import DOMAIN as GROUP_DOMAIN
|
||||
@@ -240,7 +239,7 @@ async def test_reload(hass: HomeAssistant) -> None:
|
||||
|
||||
|
||||
async def test_sensor_incorrect_state(
|
||||
hass: HomeAssistant, caplog: LogCaptureFixture
|
||||
hass: HomeAssistant, caplog: pytest.LogCaptureFixture
|
||||
) -> None:
|
||||
"""Test the min sensor."""
|
||||
config = {
|
||||
|
||||
Reference in New Issue
Block a user