'Ensure shell_commands without templates get rendered properly.'

@patch('homeassistant.components.shell_command.subprocess.call')
def test_template_render_no_template(self, mock_call):

    assert setup_component(self.hass, shell_command.DOMAIN, {shell_command.DOMAIN: {'test_service': 'ls    /bin'}})
    self.hass.services.call('shell_command', 'test_service', blocking=True)
    cmd = mock_call.mock_calls[0][1][0]
    shell = mock_call.mock_calls[0][2]['shell']
    assert ('ls    /bin' == cmd)
    assert shell
