mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 17:30:26 +02:00
24 lines
551 B
Python
24 lines
551 B
Python
import unittest
|
|
from unittests import wtc
|
|
import wx
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class busyinfo_Tests(wtc.WidgetTestCase):
|
|
|
|
def test_busyinfo1(self):
|
|
busy = wx.BusyInfo('This is a busy info message')
|
|
self.waitFor(250)
|
|
del busy
|
|
|
|
|
|
def test_busyinfo2(self):
|
|
with wx.BusyInfo('This is a busy info message'):
|
|
self.waitFor(250)
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|