Exemplo n.º 1
0
 def exporterTypeChanged(self):
     new_exporter_name = self.exporter_combo.currentText()
     try:
         self.exporter = [
             e for e in EXPORTER_REGISTRY.getExporters()
             if e.name() == new_exporter_name][0]()
     except:
         pass
Exemplo n.º 2
0
 def test04_RegistryHasExporters(self):
     """test that exporter registry is populated with exporters"""
     self.assertTrue(FolderExporter in EXPORTER_REGISTRY.getExporters())