示例#1
0
    def test_biblio_philly(self):
        config = json.load(open(self.biblio_philly_json))
        workbook = OPWorkbook(self.bibliophilly_workbook, config)
        sp_xml = SpreadsheetXML(settings.LICENSES)

        xml = sp_xml.build_xml(workbook.data(), config['xml_config'])
示例#2
0
    def test_muslimworld(self):
        config = json.load(open(self.muslim_world_json))
        workbook = OPWorkbook(self.muslim_world_workbook, config)
        sp_xml = SpreadsheetXML(settings.LICENSES)

        xml = sp_xml.build_xml(workbook.data(), config['xml_config'])
示例#3
0
    def test_unicode(self):
        config = self.get_config()
        workbook = OPWorkbook(self.unicode_workbook, config)
        sp_xml = SpreadsheetXML(settings.LICENSES)

        xml = sp_xml.build_xml(workbook.data(), config['xml_config'])