yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #82496
[Bug 1876412] [NEW] testing: add unittest coverage for config module json schema examples
Public bug reported:
As we implement jsonschema definitions in cloud config modules
(cloudinit.config.cc_*.py) we need a unittest which will automatically
run schema validation on cc_*.py modules.
Add a unittest to tests/unittests/test_handler/test_schema.py that will discover all config modules
which contain a 'schema' dictionary defined and run all schema['examples'] through cloudinit.config.schema:validate_cloudconfig_schema to ensure no SchemaValidationErrors are raised by our module documentation.
** Affects: cloud-init
Importance: Medium
Status: New
** Tags: bitesize
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1876412
Title:
testing: add unittest coverage for config module json schema examples
Status in cloud-init:
New
Bug description:
As we implement jsonschema definitions in cloud config modules
(cloudinit.config.cc_*.py) we need a unittest which will automatically
run schema validation on cc_*.py modules.
Add a unittest to tests/unittests/test_handler/test_schema.py that will discover all config modules
which contain a 'schema' dictionary defined and run all schema['examples'] through cloudinit.config.schema:validate_cloudconfig_schema to ensure no SchemaValidationErrors are raised by our module documentation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1876412/+subscriptions
Follow ups