tests/tools/test_application.py
changeset 1818 925ea35edc2c
parent 1817 ff0c18be4a8b
child 1819 27976d1606a4
equal deleted inserted replaced
1817:ff0c18be4a8b 1818:925ea35edc2c
    84         self.app = Beremiz.BeremizIDELauncher()
    84         self.app = Beremiz.BeremizIDELauncher()
    85         # disable default exception handler in Beremiz
    85         # disable default exception handler in Beremiz
    86         self.app.InstallExceptionHandler = lambda: None
    86         self.app.InstallExceptionHandler = lambda: None
    87         self.InstallExceptionHandler()
    87         self.InstallExceptionHandler()
    88         self.app.PreStart()
    88         self.app.PreStart()
       
    89         self.app.frame.Show()
       
    90         self.ProcessEvents()
       
    91         self.app.frame.ShowFullScreen(True)
       
    92         self.ProcessEvents()
    89 
    93 
    90     def FinishApp(self):
    94     def FinishApp(self):
    91         wx.CallAfter(self.app.frame.Close)
    95         wx.CallAfter(self.app.frame.Close)
    92         self.app.MainLoop()
    96         self.app.MainLoop()
    93         time.sleep(1)
    97         time.sleep(1)