Files
Phoenix/unittests/test_tipwin.py
2015-03-25 20:40:01 -07:00

24 lines
544 B
Python

import imp_unittest, unittest
import wtc
import wx
#---------------------------------------------------------------------------
class tipwin_Tests(wtc.WidgetTestCase):
def test_tipwinCtor(self):
w = wx.TipWindow(self.frame, "This is a tip message")
w.SetBoundingRect(self.frame.GetRect())
self.waitFor(100)
w.Show()
self.waitFor(100)
w.Close()
#---------------------------------------------------------------------------
if __name__ == '__main__':
unittest.main()