diff --git a/tests/components/flux/test_switch.py b/tests/components/flux/test_switch.py index e331a788e9c..275c10c5592 100644 --- a/tests/components/flux/test_switch.py +++ b/tests/components/flux/test_switch.py @@ -1043,9 +1043,7 @@ async def test_flux_with_multiple_lights( def event_date(hass, event, now=None): if event == SUN_EVENT_SUNRISE: - print(f"sunrise {sunrise_time}") return sunrise_time - print(f"sunset {sunset_time}") return sunset_time with patch( diff --git a/tests/components/insteon/test_api_properties.py b/tests/components/insteon/test_api_properties.py index 9b628f4443a..683e687ec85 100644 --- a/tests/components/insteon/test_api_properties.py +++ b/tests/components/insteon/test_api_properties.py @@ -216,7 +216,6 @@ async def test_create_radio_button_group(hass, hass_ws_client, properties_data): # Make sure the baseline is correct assert len(rb_props) == 3 - print(rb_props) rb_props[0]["value"].append("1") diff --git a/tests/components/insteon/test_config_flow.py b/tests/components/insteon/test_config_flow.py index 3fb1cb2d48b..9ca54ea8d8f 100644 --- a/tests/components/insteon/test_config_flow.py +++ b/tests/components/insteon/test_config_flow.py @@ -507,11 +507,6 @@ async def test_options_remove_x10_device(hass: HomeAssistant): config_entry.add_to_hass(hass) result = await _options_init_form(hass, config_entry.entry_id, STEP_REMOVE_X10) - for device in config_entry.options[CONF_X10]: - housecode = device[CONF_HOUSECODE].upper() - unitcode = device[CONF_UNITCODE] - print(f"Housecode: {housecode}, Unitcode: {unitcode}") - user_input = {CONF_DEVICE: "Housecode: C, Unitcode: 4"} result, _ = await _options_form(hass, result["flow_id"], user_input) @@ -547,11 +542,6 @@ async def test_options_remove_x10_device_with_override(hass: HomeAssistant): config_entry.add_to_hass(hass) result = await _options_init_form(hass, config_entry.entry_id, STEP_REMOVE_X10) - for device in config_entry.options[CONF_X10]: - housecode = device[CONF_HOUSECODE].upper() - unitcode = device[CONF_UNITCODE] - print(f"Housecode: {housecode}, Unitcode: {unitcode}") - user_input = {CONF_DEVICE: "Housecode: C, Unitcode: 4"} result, _ = await _options_form(hass, result["flow_id"], user_input) diff --git a/tests/components/jewish_calendar/test_sensor.py b/tests/components/jewish_calendar/test_sensor.py index e9471d5d144..879b5edb120 100644 --- a/tests/components/jewish_calendar/test_sensor.py +++ b/tests/components/jewish_calendar/test_sensor.py @@ -538,7 +538,6 @@ async def test_shabbat_times_sensor( for sensor_type, result_value in result.items(): if not sensor_type.startswith(language): - print(f"Not checking {sensor_type} for {language}") continue sensor_type = sensor_type.replace(f"{language}_", "") diff --git a/tests/components/mfi/test_switch.py b/tests/components/mfi/test_switch.py index 1e9f56853c3..8eed41f8a32 100644 --- a/tests/components/mfi/test_switch.py +++ b/tests/components/mfi/test_switch.py @@ -37,7 +37,6 @@ async def test_setup_adds_proper_devices(hass): for i, model in enumerate(mfi.SWITCH_MODELS) } ports["bad"] = mock.MagicMock(model="notaswitch") - print(ports["bad"].model) mock_client.return_value.get_devices.return_value = [ mock.MagicMock(ports=ports) ] diff --git a/tests/components/rest/test_switch.py b/tests/components/rest/test_switch.py index c422bfc841d..3dbef91ffb5 100644 --- a/tests/components/rest/test_switch.py +++ b/tests/components/rest/test_switch.py @@ -21,8 +21,6 @@ from homeassistant.setup import async_setup_component from tests.common import assert_setup_component -"""Tests for setting up the REST switch platform.""" - NAME = "foo" DEVICE_CLASS = SwitchDeviceClass.SWITCH METHOD = "post" @@ -101,7 +99,6 @@ async def test_setup_query_params(hass, aioclient_mock): ) await hass.async_block_till_done() - print(aioclient_mock) assert aioclient_mock.call_count == 1 diff --git a/tests/components/stream/test_hls.py b/tests/components/stream/test_hls.py index 67c7415f509..34c87349811 100644 --- a/tests/components/stream/test_hls.py +++ b/tests/components/stream/test_hls.py @@ -262,7 +262,6 @@ async def test_stream_keepalive(hass): cur_time = 0 def time_side_effect(): - print("stream.available=%s", stream.available) nonlocal cur_time if cur_time >= 80: stream.keepalive = False # Thread should exit and be joinable.