Fix formatting pylint comments in test (#15450)

This commit is contained in:
Paulus Schoutsen 2018-07-13 23:02:23 +02:00 committed by Fabian Affolter
parent 1007bb83aa
commit 538236de8f
12 changed files with 32 additions and 64 deletions

View file

@ -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',