Ignore attribute-defined-outside-init pylint warnings in tests (#119470)
This commit is contained in:
parent
2a7e78a80f
commit
7d631c28a6
9 changed files with 13 additions and 0 deletions
|
@ -107,6 +107,7 @@ async def test_async_update_support(hass: HomeAssistant) -> None:
|
|||
"""Async update."""
|
||||
async_update.append(1)
|
||||
|
||||
# pylint: disable-next=attribute-defined-outside-init
|
||||
ent.async_update = async_update_func
|
||||
|
||||
await ent.async_update_ha_state(True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue