mirror of
https://github.com/home-assistant/core.git
synced 2025-11-10 11:29:46 +00:00
Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
@@ -23,7 +23,7 @@ from tests.common import MockConfigEntry
|
||||
"extra_input",
|
||||
"extra_options",
|
||||
),
|
||||
(
|
||||
[
|
||||
(
|
||||
"binary_sensor",
|
||||
{},
|
||||
@@ -47,7 +47,7 @@ from tests.common import MockConfigEntry
|
||||
{},
|
||||
{"minimum": 0, "maximum": 20},
|
||||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_config_flow(
|
||||
hass: HomeAssistant,
|
||||
@@ -135,7 +135,7 @@ async def test_wrong_uom(
|
||||
"extra_options",
|
||||
"options_options",
|
||||
),
|
||||
(
|
||||
[
|
||||
(
|
||||
"sensor",
|
||||
{
|
||||
@@ -151,7 +151,7 @@ async def test_wrong_uom(
|
||||
"unit_of_measurement": UnitOfPower.WATT,
|
||||
},
|
||||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_options(
|
||||
hass: HomeAssistant,
|
||||
|
||||
Reference in New Issue
Block a user