From ab28d89dbf8f5e2cfe533649689028cff7377fb5 Mon Sep 17 00:00:00 2001 From: Erik Date: Sat, 11 May 2024 11:27:33 +0200 Subject: [PATCH] Rename some MQTT tests --- tests/components/mqtt/test_valve.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/components/mqtt/test_valve.py b/tests/components/mqtt/test_valve.py index 7fd9b10c005131..16e1562c6a1a56 100644 --- a/tests/components/mqtt/test_valve.py +++ b/tests/components/mqtt/test_valve.py @@ -477,7 +477,7 @@ async def test_state_via_state_trough_position_with_alt_range( (SERVICE_STOP_VALVE, "SToP"), ], ) -async def tests_controling_valve_by_state( +async def test_controling_valve_by_state( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, service: str, @@ -553,7 +553,7 @@ async def tests_controling_valve_by_state( ), ], ) -async def tests_supported_features( +async def test_supported_features( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, supported_features: ValveEntityFeature, @@ -583,7 +583,7 @@ async def tests_supported_features( ), ], ) -async def tests_open_close_payload_config_not_allowed( +async def test_open_close_payload_config_not_allowed( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, caplog: pytest.LogCaptureFixture, @@ -631,7 +631,7 @@ async def tests_open_close_payload_config_not_allowed( (SERVICE_OPEN_VALVE, "OPEN", STATE_OPEN), ], ) -async def tests_controling_valve_by_state_optimistic( +async def test_controling_valve_by_state_optimistic( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, service: str, @@ -683,7 +683,7 @@ async def tests_controling_valve_by_state_optimistic( (SERVICE_STOP_VALVE, "-1"), ], ) -async def tests_controling_valve_by_position( +async def test_controling_valve_by_position( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, service: str, @@ -734,7 +734,7 @@ async def tests_controling_valve_by_position( (100, "100"), ], ) -async def tests_controling_valve_by_set_valve_position( +async def test_controling_valve_by_set_valve_position( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, position: int, @@ -786,7 +786,7 @@ async def tests_controling_valve_by_set_valve_position( (100, "100", 100, STATE_OPEN), ], ) -async def tests_controling_valve_optimistic_by_set_valve_position( +async def test_controling_valve_optimistic_by_set_valve_position( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, position: int, @@ -843,7 +843,7 @@ async def tests_controling_valve_optimistic_by_set_valve_position( (100, "127"), ], ) -async def tests_controling_valve_with_alt_range_by_set_valve_position( +async def test_controling_valve_with_alt_range_by_set_valve_position( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, position: int, @@ -894,7 +894,7 @@ async def tests_controling_valve_with_alt_range_by_set_valve_position( (SERVICE_OPEN_VALVE, "127"), ], ) -async def tests_controling_valve_with_alt_range_by_position( +async def test_controling_valve_with_alt_range_by_position( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, service: str, @@ -955,7 +955,7 @@ async def tests_controling_valve_with_alt_range_by_position( (SERVICE_OPEN_VALVE, "100", STATE_OPEN, 100), ], ) -async def tests_controling_valve_by_position_optimistic( +async def test_controling_valve_by_position_optimistic( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, service: str, @@ -1014,7 +1014,7 @@ async def tests_controling_valve_by_position_optimistic( (100, "127", 100, STATE_OPEN), ], ) -async def tests_controling_valve_optimistic_alt_trange_by_set_valve_position( +async def test_controling_valve_optimistic_alt_trange_by_set_valve_position( hass: HomeAssistant, mqtt_mock_entry: MqttMockHAClientGenerator, position: int,