mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Enable Ruff PT006 (#88165)
* Enable Ruff PT006 * Adjust existing cases * Fix tests * Remove unneeded parentheses
This commit is contained in:
@@ -112,7 +112,7 @@ async def test_fan_reset_filter_service(hass, pywemo_device, wemo_entity):
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"test_input,expected",
|
||||
("test_input", "expected"),
|
||||
[
|
||||
(0, DesiredHumidity.FortyFivePercent),
|
||||
(45, DesiredHumidity.FortyFivePercent),
|
||||
@@ -139,7 +139,7 @@ async def test_fan_set_humidity_service(
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"percentage,expected_fan_mode",
|
||||
("percentage", "expected_fan_mode"),
|
||||
[
|
||||
(0, FanMode.Off),
|
||||
(10, FanMode.Minimum),
|
||||
|
||||
Reference in New Issue
Block a user