Drop legacy_patchable_time from MQTT tests (#41287)
This commit is contained in:
1 parent
985e4e1bd9
commit
c777647233
2 files changed
+9
-15
No files matched your search
@@ -75,9 +75,7 @@ async def test_setting_sensor_value_via_mqtt_message(hass, mqtt_mock):
|
||||
assert state.attributes.get("unit_of_measurement") == "fav unit"
|
||||
|
||||
|
||||
async def test_setting_sensor_value_expires_availability_topic(
|
||||
hass, mqtt_mock, legacy_patchable_time, caplog
|
||||
):
|
||||
async def test_setting_sensor_value_expires_availability_topic(hass, mqtt_mock, caplog):
|
||||
"""Test the expiration of the value."""
|
||||
assert await async_setup_component(
|
||||
hass,
|
||||
@@ -107,9 +105,7 @@ async def test_setting_sensor_value_expires_availability_topic(
|
||||
await expires_helper(hass, mqtt_mock, caplog)
|
||||
|
||||
|
||||
async def test_setting_sensor_value_expires(
|
||||
hass, mqtt_mock, legacy_patchable_time, caplog
|
||||
):
|
||||
async def test_setting_sensor_value_expires(hass, mqtt_mock, caplog):
|
||||
"""Test the expiration of the value."""
|
||||
assert await async_setup_component(
|
||||
hass,
|
||||
|
||||
Reference in new issue
Block a user