We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0384a46 + 142d226 commit 3eeb028Copy full SHA for 3eeb028
tests/test_config_schema.py
@@ -0,0 +1,13 @@
1
+"""
2
+Unit test functions to test JSON Schema validation
3
4
+
5
+import jsonschema
6
7
+from tljh.config_schema import config_schema
8
9
10
+def test_valid_config_json_schema():
11
+ """Validate that the JSON schema fits its $schema specification"""
12
+ validator_class = jsonschema.validators.validator_for(config_schema)
13
+ validator_class.check_schema(config_schema)
tljh/configurer.py
@@ -5,7 +5,6 @@
be called many times per lifetime of a jupyterhub.
Traitlets that modify the startup of JupyterHub should not be here.
-FIXME: A strong feeling that JSON Schema should be involved somehow.
"""
import os
0 commit comments