diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-04-20 20:25:48 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2018-04-20 20:25:48 -0400 |
commit | 5037252ca5dc54c6d978b23dba063ac5fabc98fa (patch) | |
tree | d39ee7c87b9d471a10a300766570a838c04cbc24 /tests/unittests/test_datasource/test_smartos.py | |
parent | 4952a8545b61ceb2fe26a933d2f64020d0281703 (diff) | |
download | vyos-cloud-init-5037252ca5dc54c6d978b23dba063ac5fabc98fa.tar.gz vyos-cloud-init-5037252ca5dc54c6d978b23dba063ac5fabc98fa.zip |
schema: in validation, raise ImportError if strict but no jsonschema.
validate_cloudconfig_schema with strict=True would not actually validate
if there was no jsonschema available. That seems kind of strange.
The change here is to make it raise an exception if strict was passed in.
And then to fix the one test that needed a skipIfJsonSchema wrapper.
Diffstat (limited to 'tests/unittests/test_datasource/test_smartos.py')
0 files changed, 0 insertions, 0 deletions