Cleanup mqtt platform tests part 6 (last) (#120736)

This commit is contained in:
Jan Bouwhuis 2024-06-28 16:22:25 +02:00 committed by GitHub
parent d03a6f84a3
commit a8f4684929
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 109 additions and 442 deletions

View file

@ -1246,11 +1246,7 @@ async def test_update_with_json_attrs_not_dict(
) -> None:
"""Test attributes get extracted from a JSON result."""
await help_test_update_with_json_attrs_not_dict(
hass,
mqtt_mock_entry,
caplog,
humidifier.DOMAIN,
DEFAULT_CONFIG,
hass, mqtt_mock_entry, caplog, humidifier.DOMAIN, DEFAULT_CONFIG
)
@ -1261,11 +1257,7 @@ async def test_update_with_json_attrs_bad_json(
) -> None:
"""Test attributes get extracted from a JSON result."""
await help_test_update_with_json_attrs_bad_json(
hass,
mqtt_mock_entry,
caplog,
humidifier.DOMAIN,
DEFAULT_CONFIG,
hass, mqtt_mock_entry, caplog, humidifier.DOMAIN, DEFAULT_CONFIG
)