summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2015-03-25 15:54:05 +0000
committerDaniel Watkins <daniel.watkins@canonical.com>2015-03-25 15:54:05 +0000
commit9c9cc1ad42d04fdb375d72d5f2b2cfafba898f50 (patch)
tree239f63fd44741f32a49c7c7cbb4d63687311e056 /tests
parentccdf4ff9966b020a8fd30e5bec87fa82dc20c214 (diff)
downloadvyos-cloud-init-9c9cc1ad42d04fdb375d72d5f2b2cfafba898f50.tar.gz
vyos-cloud-init-9c9cc1ad42d04fdb375d72d5f2b2cfafba898f50.zip
Organise imports in test_smartos.py.
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_datasource/test_smartos.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/unittests/test_datasource/test_smartos.py b/tests/unittests/test_datasource/test_smartos.py
index cb0ab984..cdd83bf8 100644
--- a/tests/unittests/test_datasource/test_smartos.py
+++ b/tests/unittests/test_datasource/test_smartos.py
@@ -24,20 +24,21 @@
from __future__ import print_function
-from cloudinit import helpers as c_helpers
-from cloudinit.sources import DataSourceSmartOS
-from cloudinit.util import b64e
-from .. import helpers
import os
import os.path
import re
import shutil
-import tempfile
import stat
+import tempfile
import uuid
import six
+from cloudinit import helpers as c_helpers
+from cloudinit.sources import DataSourceSmartOS
+from cloudinit.util import b64e
+
+from .. import helpers
MOCK_RETURNS = {
'hostname': 'test-host',