1
0
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:
Franck Nijhof
2023-01-27 09:09:46 +01:00
committed by GitHub
parent bd9a8ba6f1
commit e4a78420b8
50 changed files with 528 additions and 504 deletions

View File

@@ -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 = {