Fix formatting pylint comments in test (#15450)
This commit is contained in:
parent
1007bb83aa
commit
538236de8f
12 changed files with 32 additions and 64 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue