示例#1
0
 def test_json_json(self):
     c = MultiConfig(data=self.json_first, fmt=Config.JSON)
     c.attach(data=self.json_second, fmt=Config.JSON)
     self.check_structure(c)
示例#2
0
 def test_yaml_yaml(self):
     if platform.is_a(platform.DOTNET):
         self.skipTest('YAML is not supported on .NET')
     c = MultiConfig(data=self.yaml_first, fmt=Config.YAML)
     c.attach(data=self.yaml_second, fmt=Config.YAML)
     self.check_structure(c)
示例#3
0
 def test_dict_dict(self):
     c = MultiConfig(data=self.dict_first)
     c.attach(data=self.dict_second)
     self.check_structure(c)