mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 11:00:07 +01:00
Ensure that items returned by GetChildren are the right type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,6 +48,7 @@ class sizer_Tests(wtc.WidgetTestCase):
|
||||
])
|
||||
items = bs.GetChildren()
|
||||
self.assertTrue(len(items) == 3)
|
||||
self.assertTrue(isinstance(items[0], wx.SizerItem))
|
||||
self.assertTrue(items[0].IsWindow())
|
||||
self.assertTrue(items[1].IsSpacer())
|
||||
self.assertTrue(items[2].Border == 5)
|
||||
|
||||
Reference in New Issue
Block a user