summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/test_datasource')
-rw-r--r--tests/unittests/test_datasource/test_smartos.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/unittests/test_datasource/test_smartos.py b/tests/unittests/test_datasource/test_smartos.py
index 56d85f99..ae45513d 100644
--- a/tests/unittests/test_datasource/test_smartos.py
+++ b/tests/unittests/test_datasource/test_smartos.py
@@ -40,9 +40,8 @@ import six
from cloudinit import helpers as c_helpers
from cloudinit.sources import DataSourceSmartOS
from cloudinit.util import b64e
-from cloudinit import util
-from ..helpers import mock, TestCase, FilesystemMockingTestCase
+from ..helpers import mock, FilesystemMockingTestCase
SDC_NICS = json.loads("""
[
@@ -111,7 +110,7 @@ class PsuedoJoyentClient(object):
data = MOCK_RETURNS.copy()
self.data = data
return
-
+
def get(self, key, default=None, strip=False):
if key in self.data:
r = self.data[key]
@@ -169,10 +168,6 @@ class TestSmartOSDataSource(FilesystemMockingTestCase):
return DataSourceSmartOS.DataSourceSmartOS(
sys_cfg, distro=None, paths=self.paths)
-
- def test_it_got_here(self):
- dsrc = self._get_ds()
- ret = dsrc.get_data()
def test_no_base64(self):
ds_cfg = {'no_base64_decode': ['test_var1'], 'all_base': True}
@@ -379,7 +374,6 @@ class TestSmartOSDataSource(FilesystemMockingTestCase):
mydscfg['disk_aliases']['FOO'])
-
class TestJoyentMetadataClient(FilesystemMockingTestCase):
def setUp(self):