From 0c9a78fb8ea41b38a1b0b7d9d22e1407ba249d18 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 6 Dec 2022 09:46:10 +0100 Subject: [PATCH] Use tuple in test parametrization (#83379) --- tests/components/sensor/test_init.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/components/sensor/test_init.py b/tests/components/sensor/test_init.py index 79fa7ef16d9..39419364793 100644 --- a/tests/components/sensor/test_init.py +++ b/tests/components/sensor/test_init.py @@ -1020,11 +1020,11 @@ async def test_invalid_enumeration_entity_without_device_class( @pytest.mark.parametrize( "device_class", - { + ( SensorDeviceClass.DATE, SensorDeviceClass.ENUM, SensorDeviceClass.TIMESTAMP, - }, + ), ) async def test_non_numeric_device_class_with_state_class( hass: HomeAssistant, @@ -1054,11 +1054,11 @@ async def test_non_numeric_device_class_with_state_class( @pytest.mark.parametrize( "device_class", - { + ( SensorDeviceClass.DATE, SensorDeviceClass.ENUM, SensorDeviceClass.TIMESTAMP, - }, + ), ) async def test_non_numeric_device_class_with_unit_of_measurement( hass: HomeAssistant,