Skip to content

Commit

Permalink
Rename some MQTT tests (home-assistant#117246)
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery authored and dgomes committed May 11, 2024
1 parent d1f0ff9 commit 92a1dce
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/components/mqtt/test_valve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 92a1dce

Please sign in to comment.