More pylint 2 fixes (#15565)
## Description: More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon). ## Checklist: - [ ] The code change is tested and works locally. - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
This commit is contained in:
parent
ea18e06b08
commit
2f7b79764a
242 changed files with 284 additions and 284 deletions
|
@ -10,7 +10,7 @@ from tests.common import (
|
|||
get_test_home_assistant, assert_setup_component)
|
||||
|
||||
|
||||
class TestRestCommandSetup(object):
|
||||
class TestRestCommandSetup:
|
||||
"""Test the rest command component."""
|
||||
|
||||
def setup_method(self):
|
||||
|
@ -47,7 +47,7 @@ class TestRestCommandSetup(object):
|
|||
assert self.hass.services.has_service(rc.DOMAIN, 'test_get')
|
||||
|
||||
|
||||
class TestRestCommandComponent(object):
|
||||
class TestRestCommandComponent:
|
||||
"""Test the rest command component."""
|
||||
|
||||
def setup_method(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue