Ignore broad-exception-raised pylint warnings in tests (#119468)
This commit is contained in:
parent
0c79eeabdf
commit
2a7e78a80f
12 changed files with 18 additions and 11 deletions
|
@ -261,7 +261,7 @@ async def test_platform_setup_with_error(
|
|||
|
||||
async def async_get_service(hass, config, discovery_info=None):
|
||||
"""Return None for an invalid notify service."""
|
||||
raise Exception("Setup error")
|
||||
raise Exception("Setup error") # pylint: disable=broad-exception-raised
|
||||
|
||||
mock_notify_platform(
|
||||
hass, tmp_path, "testnotify", async_get_service=async_get_service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue