Esempio n. 1
0
 def test_yaml_fill(self):
     with open('yaml/test-expand2.yml') as fp:
         a = yaml.load(fp)
     print(fill_metas_with_defaults(a))
Esempio n. 2
0
def test_yaml_fill():
    with open(os.path.join(cur_dir, 'yaml/test-expand2.yml')) as fp:
        a = JAML.load(fp)
    print(fill_metas_with_defaults(a))