@patch('homeassistant.components.notify.command_line._LOGGER.error')
    def test_error_for_none_zero_exit_code(self, mock_error):
        self.assertTrue(notify.setup(self.hass, {
            'notify': {
                'name': 'test',
                'platform': 'command_line',
                'command': 'echo $(cat); exit 1'
            }
        }))

        self.hass.services.call('notify', 'test', {'message': 'error'},
                                blocking=True)
        self.assertEqual(1, mock_error.call_count)
Render the developer page, including the form.
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/notify/test_command_line.py/TestCommandLine.test_error_for_none_zero_exit_code--crossover with--dataset/ETHPy150Open hypothesis/h/h/accounts/views.py/DeveloperController.get