diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-03-07 17:13:05 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-03-07 17:13:05 -0500 |
commit | 5da3984c2ca9e94b2483ab89ecdb5c93b5afb9f8 (patch) | |
tree | 10a659fd2664e42d2da1ce68d97eff5d6c112561 /tests | |
parent | aae7fe638f61aaf02c6579d5b691a8641455c875 (diff) | |
download | vyos-cloud-init-5da3984c2ca9e94b2483ab89ecdb5c93b5afb9f8.tar.gz vyos-cloud-init-5da3984c2ca9e94b2483ab89ecdb5c93b5afb9f8.zip |
more pep8/pylint. all clean now
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test__init__.py | 3 | ||||
-rw-r--r-- | tests/unittests/test_merging.py | 1 | ||||
-rw-r--r-- | tests/unittests/test_userdata.py | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/unittests/test__init__.py b/tests/unittests/test__init__.py index 56ccbcfb..2c0abfbc 100644 --- a/tests/unittests/test__init__.py +++ b/tests/unittests/test__init__.py @@ -22,7 +22,8 @@ class FakeModule(handlers.Handler): def list_types(self): return self.types - def handle_part(self, data, ctype, filename, payload, frequency): + def handle_part(self, _data, ctype, filename, # pylint: disable=W0221 + payload, frequency): pass diff --git a/tests/unittests/test_merging.py b/tests/unittests/test_merging.py index 591a99c8..ad137e85 100644 --- a/tests/unittests/test_merging.py +++ b/tests/unittests/test_merging.py @@ -140,4 +140,3 @@ class TestSimpleRun(helpers.MockerTestCase): 'e': 'f', } }) - diff --git a/tests/unittests/test_userdata.py b/tests/unittests/test_userdata.py index 48ad9c5f..fdfe2542 100644 --- a/tests/unittests/test_userdata.py +++ b/tests/unittests/test_userdata.py @@ -55,7 +55,7 @@ class TestConsumeUserData(helpers.FilesystemMockingTestCase): #cloud-config a: b e: f -run: +run: - b - c ''' @@ -67,7 +67,7 @@ run: #cloud-config a: e e: g -run: +run: - stuff - morestuff ''' @@ -77,7 +77,7 @@ run: blob3 = ''' #cloud-config -e: +e: - 1 - 2 - 3 |