mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -3,9 +3,11 @@ Unit test functions to test JSON Schema validation
|
||||
"""
|
||||
|
||||
import jsonschema
|
||||
|
||||
from tljh.config_schema import config_schema
|
||||
|
||||
|
||||
def test_valid_config_json_schema():
|
||||
"""Validate that the JSON schema fits its $schema specification"""
|
||||
validator_class = jsonschema.validators.validator_for(config_schema)
|
||||
validator_class.check_schema(config_schema)
|
||||
"""Validate that the JSON schema fits its $schema specification"""
|
||||
validator_class = jsonschema.validators.validator_for(config_schema)
|
||||
validator_class.check_schema(config_schema)
|
||||
|
||||
Reference in New Issue
Block a user