summaryrefslogtreecommitdiff
path: root/cloudinit/config/tests/test_snap.py
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2020-05-14 15:39:19 -0400
committerGitHub <noreply@github.com>2020-05-14 15:39:19 -0400
commit09492b1d0f4b1826a7a98709c61d48bf14a1ec64 (patch)
tree9150f282f7925c331235d1bb7199ba5b778c146e /cloudinit/config/tests/test_snap.py
parent4261ae538563d262bc76b8c55f7cc0c8abb14b00 (diff)
downloadvyos-cloud-init-09492b1d0f4b1826a7a98709c61d48bf14a1ec64.tar.gz
vyos-cloud-init-09492b1d0f4b1826a7a98709c61d48bf14a1ec64.zip
cloudinit: minor pylint fixes (#360)
We recently discovered that pylint is failing to report some errors when invoked across our entire codebase (see https://github.com/PyCQA/pylint/issues/3611). I've run pylint across every Python file under cloudinit/[0], and this commit fixes the issues so-discovered. [0] find cloudinit/ -name "*.py" | xargs -n 1 -t .tox/pylint/bin/python -m pylint
Diffstat (limited to 'cloudinit/config/tests/test_snap.py')
-rw-r--r--cloudinit/config/tests/test_snap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/tests/test_snap.py b/cloudinit/config/tests/test_snap.py
index cbbb173d..70676942 100644
--- a/cloudinit/config/tests/test_snap.py
+++ b/cloudinit/config/tests/test_snap.py
@@ -345,7 +345,7 @@ class TestSchema(CiTestCase, SchemaTestCaseMixin):
def test_duplicates_are_fine_array_array(self):
"""Duplicated commands array/array entries are allowed."""
self.assertSchemaValid(
- {'commands': [["echo", "bye"], ["echo" "bye"]]},
+ {'commands': [["echo", "bye"], ["echo", "bye"]]},
"command entries can be duplicate.")
def test_duplicates_are_fine_array_string(self):