Fix formatting pylint comments in test (#15450)
This commit is contained in:
1 parent
1007bb83aa
commit
538236de8f
12 files changed
+32
-64
No files matched your search
@@ -273,8 +273,7 @@ class TestTrendBinarySensor:
|
||||
state = self.hass.states.get('binary_sensor.test_trend_sensor')
|
||||
assert state.state == 'off'
|
||||
|
||||
def test_invalid_name_does_not_create(self): \
|
||||
# pylint: disable=invalid-name
|
||||
def test_invalid_name_does_not_create(self):
|
||||
"""Test invalid name."""
|
||||
with assert_setup_component(0):
|
||||
assert setup.setup_component(self.hass, 'binary_sensor', {
|
||||
@@ -290,8 +289,7 @@ class TestTrendBinarySensor:
|
||||
})
|
||||
assert self.hass.states.all() == []
|
||||
|
||||
def test_invalid_sensor_does_not_create(self): \
|
||||
# pylint: disable=invalid-name
|
||||
def test_invalid_sensor_does_not_create(self):
|
||||
"""Test invalid sensor."""
|
||||
with assert_setup_component(0):
|
||||
assert setup.setup_component(self.hass, 'binary_sensor', {
|
||||
|
||||
Reference in new issue
Block a user