add tests for subpath
This commit is contained in:
@ -578,7 +578,7 @@ class Config:
|
||||
'type': 'object'}
|
||||
if root_path:
|
||||
root = self.root.split('.')
|
||||
if not path.startswith(root):
|
||||
if not path.startswith(self.root):
|
||||
raise Exception('cannot find {0}'.format(path))
|
||||
subpaths = path.split('.')[len(root):]
|
||||
else:
|
||||
|
Reference in New Issue
Block a user