summaryrefslogtreecommitdiff
path: root/tests/unittests/test_data.py
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2014-01-17 08:27:09 -0700
committerBen Howard <ben.howard@canonical.com>2014-01-17 08:27:09 -0700
commit91d15b934b655fc56af416309ee020caac24ca3f (patch)
treedd5e25e073fa4b362950de6f40d2629332b9d714 /tests/unittests/test_data.py
parent13d9bf99ee49e2b72cfe63ee9d90c231890e292a (diff)
downloadvyos-cloud-init-91d15b934b655fc56af416309ee020caac24ca3f.tar.gz
vyos-cloud-init-91d15b934b655fc56af416309ee020caac24ca3f.zip
pep8 and pylint fixes; typo fix for documentation
Diffstat (limited to 'tests/unittests/test_data.py')
-rw-r--r--tests/unittests/test_data.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unittests/test_data.py b/tests/unittests/test_data.py
index a753debf..68729c57 100644
--- a/tests/unittests/test_data.py
+++ b/tests/unittests/test_data.py
@@ -264,13 +264,11 @@ vendor_data:
freq=PER_INSTANCE)
mods = stages.Modules(initer)
(_which_ran, _failures) = mods.run_section('cloud_init_modules')
- cfg = mods.cfg
+ _cfg = mods.cfg
vendor_script = initer.paths.get_ipath_cur('vendor_scripts')
vendor_script_fns = "%s%s/part-001" % (new_root, vendor_script)
self.assertTrue(os.path.exists(vendor_script_fns))
-
-
def test_merging_cloud_config(self):
blob = '''
#cloud-config