Source

wxPython / tests / testStaticText.py

Full commit
"""Unit tests for wx.StaticText.

TODO: test setting different fonts and styles.
    are there other methods to test or is that it?"""
    
import unittest
import wx

import testControl

class StaticTextTest(testControl.ControlTest):
    def setUp(self):
        self.frame = wx.Frame(parent=None, id=wx.ID_ANY)
        self.name = "Static Text Control"
        self.testControl = wx.StaticText(parent=self.frame, name=self.name)
        
        
if __name__ == '__main__':
    unittest.main()