home-assistant-core/tests/ignore_uncaught_exceptions.py
J. Nick Koston dbd3147c9b
Remove async_late_forward_entry_setups and instead implicitly hold the lock (#119088)
* Refactor config entry forwards to implictly obtain the lock instead of explictly

This is a bit of a tradeoff to not need async_late_forward_entry_setups

The downside is we can no longer detect non-awaited plastform setups
as we will always implicitly obtain the lock instead of explictly.

Note, this PR is incomplete and is only for discussion purposes
at this point

* preen

* cover

* cover

* restore check for non-awaited platform setup

* cleanup

* fix missing word

* make non-awaited test safer
2024-06-12 21:06:11 -04:00

47 lines
1.5 KiB
Python

"""List of tests that have uncaught exceptions today. Will be shrunk over time."""
IGNORE_UNCAUGHT_EXCEPTIONS = [
(
# This test explicitly throws an uncaught exception
# and should not be removed.
"tests.test_runner",
"test_unhandled_exception_traceback",
),
(
# This test explicitly throws an uncaught exception
# and should not be removed.
"tests.helpers.test_event",
"test_track_point_in_time_repr",
),
(
# This test explicitly throws an uncaught exception
# and should not be removed.
"tests.test_config_entries",
"test_config_entry_unloaded_during_platform_setups",
),
(
# This test explicitly throws an uncaught exception
# and should not be removed.
"tests.test_config_entries",
"test_config_entry_unloaded_during_platform_setup",
),
(
"test_homeassistant_bridge",
"test_homeassistant_bridge_fan_setup",
),
(
"tests.components.owntracks.test_device_tracker",
"test_mobile_multiple_async_enter_exit",
),
(
"tests.components.smartthings.test_init",
"test_event_handler_dispatches_updated_devices",
),
(
"tests.components.unifi.test_controller",
"test_wireless_client_event_calls_update_wireless_devices",
),
("tests.components.iaqualink.test_config_flow", "test_with_invalid_credentials"),
("tests.components.iaqualink.test_config_flow", "test_with_existing_config"),
]