def test2(): app = QApplication([]) fc = Flowchart() lena = fc.createNode('Andor Camera', pos=(0, 100)) fc.win.show() app.exec_()
def setUp(self): from pycoldatom.flowchart import Flowchart self.app = QApplication([]) self.fc = Flowchart() self.fcwidget = self.fc.widget()