Enable Ruff SIM300 (#86793)
This commit is contained in:
parent
9ac8f9aa37
commit
c56832bb2c
25 changed files with 43 additions and 42 deletions
|
@ -102,7 +102,7 @@ async def test_template_render(mock_call, hass):
|
|||
cmd = mock_call.mock_calls[0][1]
|
||||
|
||||
assert mock_call.call_count == 1
|
||||
assert ("ls", "/bin", "Works") == cmd
|
||||
assert cmd == ("ls", "/bin", "Works")
|
||||
|
||||
|
||||
@patch("homeassistant.components.shell_command.asyncio.create_subprocess_shell")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue