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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 528 additions and 504 deletions

View file

@ -1,5 +1,5 @@
"""Test the GitHub init file."""
from pytest import LogCaptureFixture
import pytest
from homeassistant.components.github import CONF_REPOSITORIES
from homeassistant.core import HomeAssistant
@ -15,7 +15,7 @@ async def test_device_registry_cleanup(
hass: HomeAssistant,
mock_config_entry: MockConfigEntry,
aioclient_mock: AiohttpClientMocker,
caplog: LogCaptureFixture,
caplog: pytest.LogCaptureFixture,
) -> None:
"""Test that we remove untracked repositories from the decvice registry."""
mock_config_entry.options = {CONF_REPOSITORIES: ["home-assistant/core"]}