diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-01-24 15:29:09 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-01-24 15:29:09 -0500 |
commit | 4919cd124e57e82ecfcdaa9bfcbc051c719708e6 (patch) | |
tree | ae602a3a99ee5c5181bba9f80c3c02a6f1afc4f4 /tests/unittests/test_datasource | |
parent | 6d474342163b05a29c198964ececd57db8658365 (diff) | |
download | vyos-cloud-init-4919cd124e57e82ecfcdaa9bfcbc051c719708e6.tar.gz vyos-cloud-init-4919cd124e57e82ecfcdaa9bfcbc051c719708e6.zip |
pylint and long line fixes.
This fixes up many long lines to be < 80 chars and some other
pylint issues. pylint 1.1 (in trusty) is now complaining about
the lazy logging, so I'll clean that up when I touch things.
Diffstat (limited to 'tests/unittests/test_datasource')
-rw-r--r-- | tests/unittests/test_datasource/test_configdrive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_configdrive.py b/tests/unittests/test_datasource/test_configdrive.py index 3c1e8add..1f4a0a0b 100644 --- a/tests/unittests/test_datasource/test_configdrive.py +++ b/tests/unittests/test_datasource/test_configdrive.py @@ -285,7 +285,7 @@ class TestConfigDriveDataSource(MockerTestCase): self.assertEqual(["/dev/vdb", "/dev/zdd"], ds.find_candidate_devs()) - # verify that partitions are considered, but only if they have a label. + # verify that partitions are considered, that have correct label. devs_with_answers = {"TYPE=vfat": ["/dev/sda1"], "TYPE=iso9660": [], "LABEL=config-2": ["/dev/vdb3"]} self.assertEqual(["/dev/vdb3"], |