summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 21:04:34 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-05-12 21:04:34 +0200
commit338198c5a802207cabd7c13422fcf0e03c667ce7 (patch)
tree21c7ebd55557a76bba5c187d8a0bfe19c3d16604 /tests/unittests/test_handler
parent3ece03a2df95bdb40851b9d629b39c43a233868b (diff)
downloadvyos-cloud-init-338198c5a802207cabd7c13422fcf0e03c667ce7.tar.gz
vyos-cloud-init-338198c5a802207cabd7c13422fcf0e03c667ce7.zip
alphabetical order on imports
Diffstat (limited to 'tests/unittests/test_handler')
-rw-r--r--tests/unittests/test_handler/test_handler_apt_configure_sources_list.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_configure_sources_list.py b/tests/unittests/test_handler/test_handler_apt_configure_sources_list.py
index 16d6a5d1..d4fdee21 100644
--- a/tests/unittests/test_handler/test_handler_apt_configure_sources_list.py
+++ b/tests/unittests/test_handler/test_handler_apt_configure_sources_list.py
@@ -1,12 +1,11 @@
""" test_handler_apt_configure_sources_list
Test templating of sources list
"""
+import logging
import os
+import re
import shutil
import tempfile
-import re
-
-import logging
try:
from unittest import mock
@@ -15,12 +14,12 @@ except ImportError:
from cloudinit import cloud
from cloudinit import distros
-from cloudinit import util
from cloudinit import helpers
from cloudinit import templater
+from cloudinit import util
-from cloudinit.sources import DataSourceNone
from cloudinit.config import cc_apt_configure
+from cloudinit.sources import DataSourceNone
from .. import helpers as t_help