← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1876412] Re: testing: add unittest coverage for config module json schema examples

 

This bug is believed to be fixed in cloud-init in version 20.3. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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


References