1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-04-02 16:22:51 +01:00
Files
supervisor/tests/api/test_audio.py
Stefan Agner 2627d55873 Add default verbose timestamps for plugin logs (#6598)
* Use verbose log output for plug-ins

All three plug-ins which support logging (dns, multicast and audio)
should use the verbose log format by default to make sure the log lines
are annotated with timestamp. Introduce a new flag default_verbose for
advanced logs.

* Use default_verbose for host logs as well

Use the new default_verbose flag for advanced logs, to make it more
explicit that we want timestamps for host logs as well.
2026-03-03 11:58:11 +01:00

9 lines
239 B
Python

"""Test audio api."""
from supervisor.host.const import LogFormatter
async def test_api_audio_logs(advanced_logs_tester) -> None:
"""Test audio logs."""
await advanced_logs_tester("/audio", "hassio_audio", LogFormatter.VERBOSE)