summaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-10-05 15:46:20 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-10-05 15:46:20 -0700
commit40a54a4f4a486bc196ee0eac53ef630c828aef8e (patch)
treeb105fcb9b00ececdaee1cf56969783c91dbcd491 /tests/unittests
parentf510d8f5762f3c9d27afcc57f63d7614ec6c05cd (diff)
downloadvyos-cloud-init-40a54a4f4a486bc196ee0eac53ef630c828aef8e.tar.gz
vyos-cloud-init-40a54a4f4a486bc196ee0eac53ef630c828aef8e.zip
Pylint cleanups.
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/test_datasource/test_configdrive.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/unittests/test_datasource/test_configdrive.py b/tests/unittests/test_datasource/test_configdrive.py
index 99936d92..4fa13db8 100644
--- a/tests/unittests/test_datasource/test_configdrive.py
+++ b/tests/unittests/test_datasource/test_configdrive.py
@@ -2,8 +2,6 @@ from copy import copy
import json
import os
import os.path
-import shutil
-import tempfile
import mocker
from mocker import MockerTestCase
@@ -73,9 +71,6 @@ class TestConfigDriveDataSource(MockerTestCase):
def test_ec2_metadata(self):
populate_dir(self.tmp, CFG_DRIVE_FILES_V2)
- cfg_ds = ds.DataSourceConfigDrive(settings.CFG_BUILTIN,
- None,
- helpers.Paths({}))
found = ds.read_config_drive_dir(self.tmp)
self.assertTrue('ec2-metadata' in found)
ec2_md = found['ec2-metadata']