Fail tests if wrapped callbacks or coroutines throw (#35010)

This commit is contained in:
Erik Montnemery authored and GitHub committed 2020-05-06 14:14:57 -07:00
1 parent b35306052d
commit f1ecac92df
22 files changed
+156 -38

No files matched your search

-1
View File
@@ -252,7 +252,6 @@ async def help_test_unique_id(hass, domain, config):
"""Test unique id option only creates one entity per unique_id."""
await async_mock_mqtt_component(hass)
assert await async_setup_component(hass, domain, config,)
async_fire_mqtt_message(hass, "test-topic", "payload")
assert len(hass.states.async_entity_ids(domain)) == 1