beremiz

run application tests in full screen mode

2017-09-16, Andrey Skvortsov
925ea35edc2c
Parents ff0c18be4a8b
Children 27976d1606a4
run application tests in full screen mode
--- a/tests/tools/test_application.py Sat Sep 16 21:22:06 2017 +0300
+++ b/tests/tools/test_application.py Sat Sep 16 21:22:53 2017 +0300
@@ -86,6 +86,10 @@
self.app.InstallExceptionHandler = lambda: None
self.InstallExceptionHandler()
self.app.PreStart()
+ self.app.frame.Show()
+ self.ProcessEvents()
+ self.app.frame.ShowFullScreen(True)
+ self.ProcessEvents()
def FinishApp(self):
wx.CallAfter(self.app.frame.Close)