mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 17:30:26 +02:00
21 lines
520 B
Python
21 lines
520 B
Python
import unittest
|
|
from unittests import wtc
|
|
from wx.lib.ticker import Ticker
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class lib_ticker_Tests(wtc.WidgetTestCase):
|
|
|
|
def test_lib_ticker(self):
|
|
self.ticker = Ticker(self.frame)
|
|
|
|
txt = 'a nice ticker text'
|
|
self.ticker.SetText(txt)
|
|
self.assertEqual(self.ticker.GetText(), txt)
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|