예제 #1
0
    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()
예제 #2
0
    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()