summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler/test_schema.py
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2017-09-21 11:58:28 -0400
committerScott Moser <smoser@brickies.net>2017-10-03 09:53:28 -0400
commitcc1475d07b9d0727012634ee9c7a914d67b051f5 (patch)
tree8156aabdf6d8f806e02df96f7b8c1365b0a40350 /tests/unittests/test_handler/test_schema.py
parent0ee829f91322ae1788ee6fb2a164cf06cdfff7db (diff)
downloadvyos-cloud-init-cc1475d07b9d0727012634ee9c7a914d67b051f5.tar.gz
vyos-cloud-init-cc1475d07b9d0727012634ee9c7a914d67b051f5.zip
suse: Support addition of zypper repos via cloud-config.
This adds a config module so support for adding zypper repositories via cloud-config. LP: #1718675
Diffstat (limited to 'tests/unittests/test_handler/test_schema.py')
-rw-r--r--tests/unittests/test_handler/test_schema.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_schema.py b/tests/unittests/test_handler/test_schema.py
index 745bb0ff..b8fc8930 100644
--- a/tests/unittests/test_handler/test_schema.py
+++ b/tests/unittests/test_handler/test_schema.py
@@ -27,7 +27,13 @@ class GetSchemaTest(CiTestCase):
"""Every cloudconfig module with schema is listed in allOf keyword."""
schema = get_schema()
self.assertItemsEqual(
- ['cc_bootcmd', 'cc_ntp', 'cc_resizefs', 'cc_runcmd'],
+ [
+ 'cc_bootcmd',
+ 'cc_ntp',
+ 'cc_resizefs',
+ 'cc_runcmd',
+ 'cc_zypper_add_repo'
+ ],
[subschema['id'] for subschema in schema['allOf']])
self.assertEqual('cloud-config-schema', schema['id'])
self.assertEqual(