diff --git a/util/config/test/test_schema.py b/util/config/test/test_schema.py new file mode 100644 index 000000000..d7547a5cf --- /dev/null +++ b/util/config/test/test_schema.py @@ -0,0 +1,7 @@ +from config import DefaultConfig +from util.config.schema import CONFIG_SCHEMA + +def test_ensure_schema_defines_all_fields(): + for key in vars(DefaultConfig): + assert key in CONFIG_SCHEMA['properties'], "Property `%s` is missing from config schema" % key +