Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
089a3ab6d7
commit
00ec7f11f0
204 changed files with 908 additions and 921 deletions
|
@ -28,7 +28,7 @@ async def test_form(hass: HomeAssistant) -> None:
|
|||
|
||||
@pytest.mark.parametrize(
|
||||
("side_effect", "errors"),
|
||||
(
|
||||
[
|
||||
(
|
||||
InvalidClientID(client_id="test_id"),
|
||||
{"base": "invalid_auth"},
|
||||
|
@ -41,7 +41,7 @@ async def test_form(hass: HomeAssistant) -> None:
|
|||
RuntimeError,
|
||||
{"base": "unknown"},
|
||||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_form_errors(
|
||||
hass: HomeAssistant,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue