run application tests in full screen mode
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 16 Sep 2017 21:22:53 +0300
changeset 1818 925ea35edc2c
parent 1817 ff0c18be4a8b
child 1819 27976d1606a4
run application tests in full screen mode
tests/tools/test_application.py
--- 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)