コード例 #1
0
 def setUp(self):
     TestDirFixtureWithReactor.setUp(self)
     self.client = Client.__new__(Client)
     from threading import Lock
     self.client.lock = Lock()
     self.client.task_tester = None
     self.logic = GuiApplicationLogic()
     self.app = Gui(self.logic, AppMainWindow)
コード例 #2
0
 def setUp(self):
     DatabaseFixture.setUp(self)
     LogTestCase.setUp(self)
     self.client = Client.__new__(Client)
     from threading import Lock
     self.client.lock = Lock()
     self.client.task_tester = None
     self.logic = GuiApplicationLogic()
     self.app = Gui(self.logic, AppMainWindow)