Enable Ruff SIM300 (#86793)

This commit is contained in:
Franck Nijhof 2023-01-30 11:03:23 +01:00 committed by GitHub
parent 9ac8f9aa37
commit c56832bb2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 43 additions and 42 deletions

View file

@ -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")