Process and wxScrolledWindow/Canvas unittests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-10-29 06:11:08 +00:00
parent a0d8470ec4
commit c39d88aeaa
3 changed files with 78 additions and 2 deletions

View File

@@ -25,8 +25,11 @@ class process_Tests(wtc.WidgetTestCase):
if 'wxMac' not in wx.PortInfo:
p = wx.Process(self.frame)
self.frame.Bind(wx.EVT_END_PROCESS, onEndProcess)
wx.Execute('%s %s' % (sys.executable, testscript), p)
wx.Execute('%s %s' % (sys.executable, testscript), callback=p)
# TODO: When the stream classes are wrapped add tests for writing to and
# reading from the process
#---------------------------------------------------------------------------