diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-09-08 14:26:30 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-09-08 14:26:30 -0400 |
commit | 3c39c3f7638245e9581a2e1f4faae2dc2680f0c7 (patch) | |
tree | 3c057d8c3a397d0505d60e2531fc7d12dc329aa1 /tests/unittests/test_datasource/test_nocloud.py | |
parent | f5de3d5c481377d4f6fc7a6ca7986ed2b5966da4 (diff) | |
download | vyos-cloud-init-3c39c3f7638245e9581a2e1f4faae2dc2680f0c7.tar.gz vyos-cloud-init-3c39c3f7638245e9581a2e1f4faae2dc2680f0c7.zip |
NoCloud: fix consumption of vendor-data
the content of vendordata was was being assigned to vendordata,
rather than vendordata_raw. The result was that it is not processed
for includes or part handlers or other things as it is in other
datasources.
LP: #1493453
Diffstat (limited to 'tests/unittests/test_datasource/test_nocloud.py')
-rw-r--r-- | tests/unittests/test_datasource/test_nocloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_nocloud.py b/tests/unittests/test_datasource/test_nocloud.py index 85b4c25a..2d5fc37c 100644 --- a/tests/unittests/test_datasource/test_nocloud.py +++ b/tests/unittests/test_datasource/test_nocloud.py @@ -121,7 +121,7 @@ class TestNoCloudDataSource(TestCase): ret = dsrc.get_data() self.assertEqual(dsrc.userdata_raw, ud) self.assertEqual(dsrc.metadata, md) - self.assertEqual(dsrc.vendordata, vd) + self.assertEqual(dsrc.vendordata_raw, vd) self.assertTrue(ret) def test_nocloud_no_vendordata(self): |