diff options
author | Joshua Harlow <harlowja@gmail.com> | 2016-05-12 14:25:32 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2016-05-12 14:25:32 -0700 |
commit | 78cbc764486060928541b9dee6ce5779e622d1fa (patch) | |
tree | 48a886ea0a9857ce353eebe504048e656e1c6e92 /tests/unittests/test_handler/test_handler_chef.py | |
parent | 690bdce9a73ec6d00b4eebbbca31cc527e7b2fce (diff) | |
parent | 811f7b5b3c4590ee4a16662db37b1f37541d9822 (diff) | |
download | vyos-cloud-init-78cbc764486060928541b9dee6ce5779e622d1fa.tar.gz vyos-cloud-init-78cbc764486060928541b9dee6ce5779e622d1fa.zip |
Enable flake8 and fix a large amount of reported issues
Diffstat (limited to 'tests/unittests/test_handler/test_handler_chef.py')
-rw-r--r-- | tests/unittests/test_handler/test_handler_chef.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/unittests/test_handler/test_handler_chef.py b/tests/unittests/test_handler/test_handler_chef.py index 7763f23b..7a1bc317 100644 --- a/tests/unittests/test_handler/test_handler_chef.py +++ b/tests/unittests/test_handler/test_handler_chef.py @@ -1,21 +1,19 @@ import json +import logging import os - -from cloudinit.config import cc_chef +import shutil +import six +import tempfile from cloudinit import cloud +from cloudinit.config import cc_chef from cloudinit import distros from cloudinit import helpers -from cloudinit import util from cloudinit.sources import DataSourceNone +from cloudinit import util from .. import helpers as t_help -import six -import logging -import shutil -import tempfile - LOG = logging.getLogger(__name__) CLIENT_TEMPL = os.path.sep.join(["templates", "chef_client.rb.tmpl"]) |