summaryrefslogtreecommitdiff
path: root/tests/cloud_tests
diff options
context:
space:
mode:
authorParide Legovini <paride.legovini@canonical.com>2020-03-18 18:47:33 +0100
committerGitHub <noreply@github.com>2020-03-18 13:47:33 -0400
commit024bf27b5a3880dac916431296cb871707923562 (patch)
tree8b166273e7885f5311181013d30f4894dd7cdb2a /tests/cloud_tests
parenta20092e08ab01b807c64fb5dc6a6a0013aaa09ac (diff)
downloadvyos-cloud-init-024bf27b5a3880dac916431296cb871707923562.tar.gz
vyos-cloud-init-024bf27b5a3880dac916431296cb871707923562.zip
ec2 json validation: fix the reference to the 'merged_cfg' key (#256)
The 'merged_cfg' key introduced in 71af48d was incorrectly referenced to as 'ci_cfg' in the json validation test for ec2.
Diffstat (limited to 'tests/cloud_tests')
-rw-r--r--tests/cloud_tests/testcases/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cloud_tests/testcases/base.py b/tests/cloud_tests/testcases/base.py
index 5976e234..b0dfc144 100644
--- a/tests/cloud_tests/testcases/base.py
+++ b/tests/cloud_tests/testcases/base.py
@@ -172,7 +172,7 @@ class CloudTestCase(unittest2.TestCase):
'Skipping instance-data.json test.'
' OS: %s not bionic or newer' % self.os_name)
instance_data = json.loads(out)
- self.assertItemsEqual(['ci_cfg'], instance_data['sensitive_keys'])
+ self.assertItemsEqual(['merged_cfg'], instance_data['sensitive_keys'])
ds = instance_data.get('ds', {})
v1_data = instance_data.get('v1', {})
metadata = ds.get('meta-data', {})