core/tests/components/websocket_api
Erik Montnemery 48f7924e9e
Allow specifying a custom log function for template render (#99572)
* Allow specifying a custom log function for template render

* Bypass template cache when reporting errors + fix tests

* Send errors as events

* Fix logic for creating new TemplateEnvironment

* Add strict mode back

* Only send error events if report_errors is True

* Force test of websocket_api only

* Debug test

* Run pytest with higher verbosity

* Timeout after 1 minute, enable syslog output

* Adjust timeout

* Add debug logs

* Fix unsafe call to WebSocketHandler._send_message

* Remove debug code

* Improve test coverage

* Revert accidental change

* Include severity in error events

* Remove redundant information from error events
2023-09-06 10:03:35 +02:00
..
__init__.py
conftest.py Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
test_auth.py Replace mock_coro with AsyncMock (#99014) 2023-08-25 22:54:55 +02:00
test_commands.py Allow specifying a custom log function for template render (#99572) 2023-09-06 10:03:35 +02:00
test_connection.py
test_decorators.py
test_http.py Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
test_init.py
test_messages.py Fix websocket_api _state_diff_event using json_encoder_default (#96905) 2023-07-19 18:22:43 +02:00
test_sensor.py