Fix VLBox test - need to wait a little longer

This commit is contained in:
Scott Talbert
2016-04-06 23:23:08 -04:00
parent aab2833c76
commit b8d5c04f9a

View File

@@ -22,7 +22,7 @@ class vlbox_Tests(wtc.WidgetTestCase):
lb = MyVListBox(panel, pos=(10,10), size=(100,150), style=wx.BORDER_THEME)
lb.data = ['zero', 'one two', 'three four', 'five six', 'seven eight', 'nine ten']
lb.SetItemCount(len(lb.data))
self.waitFor(50)
self.waitFor(100)
# check the ItemCount property
self.assertEqual(len(lb.data), lb.ItemCount)