def test_config_parse_can_write_to_disk(self): parser = fileio.EvilConfigParser(dict_type=fileio.MultiOrderedDict) parser.add_section('Test') parser.set('Test', 'key', 'value') with open(self.config_path, 'wb') as config: parser.write(config)
def test_config_parse_can_write_to_disk(self): parser = fileio.EvilConfigParser(dict_type=fileio.MultiOrderedDict) parser.add_section("Test") parser.set("Test", "key", "value") with open(self.config_path, "wb") as config: parser.write(config)