Rename some MQTT tests (#117246)

This commit is contained in:
Erik Montnemery 2024-05-11 16:57:46 +02:00 committed by GitHub
parent 745c4aef30
commit 813f97dedc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,