forked from home-assistant/core
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:
@@ -7,7 +7,7 @@ from tests.common import (
|
||||
get_test_home_assistant, assert_setup_component, mock_coro)
|
||||
|
||||
|
||||
class TestFFmpegNoiseSetup(object):
|
||||
class TestFFmpegNoiseSetup:
|
||||
"""Test class for ffmpeg."""
|
||||
|
||||
def setup_method(self):
|
||||
@@ -72,7 +72,7 @@ class TestFFmpegNoiseSetup(object):
|
||||
assert entity.state == 'on'
|
||||
|
||||
|
||||
class TestFFmpegMotionSetup(object):
|
||||
class TestFFmpegMotionSetup:
|
||||
"""Test class for ffmpeg."""
|
||||
|
||||
def setup_method(self):
|
||||
|
||||
@@ -12,7 +12,7 @@ from tests.common import (
|
||||
FUNCTION_PATH = 'homeassistant.components.binary_sensor.workday.get_date'
|
||||
|
||||
|
||||
class TestWorkdaySetup(object):
|
||||
class TestWorkdaySetup:
|
||||
"""Test class for workday sensor."""
|
||||
|
||||
def setup_method(self):
|
||||
|
||||
Reference in New Issue
Block a user