def setUp(self): dirlist = [u"../plugins/diagrammer"] self.loader = PluginsLoader(Application) self.loader.load(dirlist) from diagrammer.gui.insertnodedialog import (InsertNodeDialog, InsertNodeController) self._dlg = InsertNodeDialog(None) self._controller = InsertNodeController(self._dlg) Tester.dialogTester.clear()
def setUp(self): self.initApplication() self.wikiroot = self.createWiki() dirlist = ["plugins/diagrammer"] self.loader = PluginsLoader(Application) self.loader.load(dirlist) from diagrammer.gui.insertnodedialog import (InsertNodeDialog, InsertNodeController) self._dlg = InsertNodeDialog(None) self._controller = InsertNodeController(self._dlg) Tester.dialogTester.clear()