MCPcopy Index your code
hub / github.com/rawpython/remi / test_init

Method test_init

test/test_widget.py:113–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111
112class TestProgress(unittest.TestCase):
113 def test_init(self):
114 widget = gui.Progress(_max=12,value=1)
115
116 h = SimpleParser()
117 h.feed(widget.repr())
118 (tag, attrs) = h.elements[0]
119 self.assertEquals(int(attrs['max']),12)
120 self.assertEquals(int(attrs['value']),1)
121
122class TestGenericDialog(unittest.TestCase):
123 '''

Callers

nothing calls this directly

Calls 2

SimpleParserClass · 0.85
reprMethod · 0.45

Tested by

no test coverage detected