mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
20 lines
523 B
Python
20 lines
523 B
Python
import unittest
|
|
from unittests import wtc
|
|
import wx
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class clntdatactnr_Tests(wtc.WidgetTestCase):
|
|
|
|
def test_clntdatactnr1(self):
|
|
data = wx.ClientDataContainer()
|
|
data.SetClientData("This is a test")
|
|
val = data.GetClientData()
|
|
self.assertEqual(val, "This is a test")
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|