mirror of
https://github.com/home-assistant/core.git
synced 2025-11-05 00:49:37 +00:00
Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
@@ -601,7 +601,7 @@ async def test_service_call_entry_id(
|
||||
assert dict(calls[0].data) == {"entity_id": ["hello.world"]}
|
||||
|
||||
|
||||
@pytest.mark.parametrize("target", ("all", "none"))
|
||||
@pytest.mark.parametrize("target", ["all", "none"])
|
||||
async def test_service_call_all_none(hass: HomeAssistant, target) -> None:
|
||||
"""Test service call targeting all."""
|
||||
calls = async_mock_service(hass, "test_domain", "test_service")
|
||||
|
||||
Reference in New Issue
Block a user