Remove system_log missing format arg test (#80739)

pull/80751/head
J. Nick Koston 2022-10-21 13:49:39 -05:00 committed by GitHub
parent 611194ddd9
commit 9c8a919e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 11 deletions

View File

@ -217,17 +217,6 @@ async def test_critical(hass, hass_ws_client):
assert_log(log, "", "critical message", "CRITICAL")
async def test_critical_with_missing_format_args(hass, hass_ws_client):
"""Test that critical messages with missing format args are logged and retrieved correctly."""
await async_setup_component(hass, system_log.DOMAIN, BASIC_CONFIG)
await hass.async_block_till_done()
try:
_LOGGER.critical("critical message %s = %s", "one_but_needs_two")
except TypeError:
pass
async def test_remove_older_logs(hass, hass_ws_client):
"""Test that older logs are rotated out."""
await async_setup_component(hass, system_log.DOMAIN, BASIC_CONFIG)