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
|
@ -908,7 +908,7 @@ async def test_abort_raises_unknown_flow_if_not_in_progress(manager) -> None:
|
|||
|
||||
@pytest.mark.parametrize(
|
||||
"menu_options",
|
||||
(["target1", "target2"], {"target1": "Target 1", "target2": "Target 2"}),
|
||||
[["target1", "target2"], {"target1": "Target 1", "target2": "Target 2"}],
|
||||
)
|
||||
async def test_show_menu(hass: HomeAssistant, manager, menu_options) -> None:
|
||||
"""Test show menu."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue