Add per-file-ignore to pylint (#86289)
This commit is contained in:
parent
a0810053f1
commit
30bf0634fe
114 changed files with 123 additions and 226 deletions
|
@ -124,7 +124,7 @@ async def test_set_cover_position(hass, device_factory):
|
|||
assert state.attributes[ATTR_BATTERY_LEVEL] == 95
|
||||
assert state.attributes[ATTR_CURRENT_POSITION] == 10
|
||||
# Ensure API called
|
||||
# pylint: disable-next=protected-access
|
||||
|
||||
assert device._api.post_device_command.call_count == 1 # type: ignore
|
||||
|
||||
|
||||
|
@ -147,7 +147,7 @@ async def test_set_cover_position_unsupported(hass, device_factory):
|
|||
assert ATTR_CURRENT_POSITION not in state.attributes
|
||||
|
||||
# Ensure API was not called
|
||||
# pylint: disable-next=protected-access
|
||||
|
||||
assert device._api.post_device_command.call_count == 0 # type: ignore
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue