Enable Ruff PT006 (#88165)
* Enable Ruff PT006 * Adjust existing cases * Fix tests * Remove unneeded parentheses
This commit is contained in:
parent
6f38bc274a
commit
ed79265843
411 changed files with 1532 additions and 1123 deletions
|
@ -1733,7 +1733,7 @@ async def test_integration_setup_info(hass, websocket_client, hass_admin_user):
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"key,config",
|
||||
("key", "config"),
|
||||
(
|
||||
("trigger", {"platform": "event", "event_type": "hello"}),
|
||||
(
|
||||
|
@ -1755,7 +1755,7 @@ async def test_validate_config_works(websocket_client, key, config):
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"key,config,error",
|
||||
("key", "config", "error"),
|
||||
(
|
||||
(
|
||||
"trigger",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue