Skip to content

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxn committed Jan 22, 2021
1 parent 4b31191 commit 79e2d70
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/test_libpurecoollink.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,11 @@ def test_status_topic(self):

@mock.patch('socket.inet_ntoa', )
def test_device_dyson_listener(self, mocked_ntoa):
listener = DysonPureCoolLink.DysonDeviceListener('serial-1',
on_add_device,
device_serial_from_name)
listener = DysonPureCoolLink.DysonDeviceListener(
'serial-1',
on_add_device,
device_serial_from_name
)
zeroconf = Mock()
listener.remove_service(zeroconf, "ptype", "serial-1")
info = Mock()
Expand Down

0 comments on commit 79e2d70

Please sign in to comment.