Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename some MQTT tests #117246

Merged
merged 1 commit into from
May 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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(
MartinHjelmare marked this conversation as resolved.
Show resolved Hide resolved
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