initial import for Open Source 🎉
This commit is contained in:
parent
1898c361f3
commit
9c0dd3b722
2048 changed files with 218743 additions and 0 deletions
7
util/config/test/test_schema.py
Normal file
7
util/config/test/test_schema.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from config import DefaultConfig
|
||||
from util.config.schema import CONFIG_SCHEMA, INTERNAL_ONLY_PROPERTIES
|
||||
|
||||
def test_ensure_schema_defines_all_fields():
|
||||
for key in vars(DefaultConfig):
|
||||
has_key = key in CONFIG_SCHEMA['properties'] or key in INTERNAL_ONLY_PROPERTIES
|
||||
assert has_key, "Property `%s` is missing from config schema" % key
|
Reference in a new issue