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:
@@ -20,7 +20,7 @@ from tests.components.blueprint.conftest import stub_blueprint_populate # noqa:
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"set_state,features_reg,features_state,expected_action_types",
|
||||
("set_state", "features_reg", "features_state", "expected_action_types"),
|
||||
[
|
||||
(False, 0, 0, []),
|
||||
(False, LockEntityFeature.OPEN, 0, ["open"]),
|
||||
@@ -84,7 +84,7 @@ async def test_get_actions(
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"hidden_by,entity_category",
|
||||
("hidden_by", "entity_category"),
|
||||
(
|
||||
(RegistryEntryHider.INTEGRATION, None),
|
||||
(RegistryEntryHider.USER, None),
|
||||
|
||||
Reference in New Issue
Block a user