Enable Ruff PT013 (#86757)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
bd9a8ba6f1
commit
e4a78420b8
50 changed files with 528 additions and 504 deletions
|
@ -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"]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue