def test_lib_agw_rulerctrlMethods(self): ruler = RC.RulerCtrl(self.frame, -1, orient=wx.VERTICAL, style=wx.STATIC_BORDER) # Some methods tests... self.assertEqual(ruler.GetFormat(), RC.RealFormat)
def test_lib_agw_rulerctrlCtor(self): ruler = RC.RulerCtrl(self.frame, -1, orient=wx.HORIZONTAL, style=wx.SUNKEN_BORDER)