Fix formatting pylint comments in test (#15450)
This commit is contained in:
committed by
Fabian Affolter
parent
1007bb83aa
commit
538236de8f
@@ -168,8 +168,7 @@ class TestCheckConfig(unittest.TestCase):
|
||||
'.../configuration.yaml', '.../secrets.yaml']
|
||||
|
||||
@patch('os.path.isfile', return_value=True)
|
||||
def test_package_invalid(self, isfile_patch): \
|
||||
# pylint: disable=no-self-use,invalid-name
|
||||
def test_package_invalid(self, isfile_patch):
|
||||
"""Test a valid platform setup."""
|
||||
files = {
|
||||
YAML_CONFIG_FILE: BASE_CONFIG + (
|
||||
@@ -190,8 +189,7 @@ class TestCheckConfig(unittest.TestCase):
|
||||
assert res['secrets'] == {}
|
||||
assert len(res['yaml_files']) == 1
|
||||
|
||||
def test_bootstrap_error(self): \
|
||||
# pylint: disable=no-self-use,invalid-name
|
||||
def test_bootstrap_error(self):
|
||||
"""Test a valid platform setup."""
|
||||
files = {
|
||||
YAML_CONFIG_FILE: BASE_CONFIG + 'automation: !include no.yaml',
|
||||
|
||||
Reference in New Issue
Block a user