From cd351cf22bf7fbceae0b4340321d0111f3107163 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Tue, 30 Nov 2021 15:45:06 +0100 Subject: [PATCH] Fix test naming switch (#60630) --- tests/components/mqtt/test_sensor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/components/mqtt/test_sensor.py b/tests/components/mqtt/test_sensor.py index 2ebfdde4a52..3b395c823e9 100644 --- a/tests/components/mqtt/test_sensor.py +++ b/tests/components/mqtt/test_sensor.py @@ -893,7 +893,7 @@ async def test_entity_category(hass, mqtt_mock): await help_test_entity_category(hass, mqtt_mock, sensor.DOMAIN, DEFAULT_CONFIG) -async def test_value_template_with_entity_id(hass, mqtt_mock): +async def test_value_template_with_raw_data(hass, mqtt_mock): """Test processing a raw value via MQTT.""" assert await async_setup_component( hass, @@ -922,7 +922,7 @@ async def test_value_template_with_entity_id(hass, mqtt_mock): assert state.state == "16" -async def test_value_template_with_raw_data(hass, mqtt_mock): +async def test_value_template_with_entity_id(hass, mqtt_mock): """Test the access to attributes in value_template via the entity_id.""" assert await async_setup_component( hass,