From 9c8a919e3f4ecf8f11998290374ebe86e23b470e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 21 Oct 2022 13:49:39 -0500 Subject: [PATCH] Remove system_log missing format arg test (#80739) --- tests/components/system_log/test_init.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/components/system_log/test_init.py b/tests/components/system_log/test_init.py index 18693aee448..53cb6531aaf 100644 --- a/tests/components/system_log/test_init.py +++ b/tests/components/system_log/test_init.py @@ -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)