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)
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)
def test_dict_dict(self): c = MultiConfig(data=self.dict_first) c.attach(data=self.dict_second) self.check_structure(c)