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

Method test_init

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

Source from the content-addressed store, hash-verified

276
277class TestMenuItem(unittest.TestCase):
278 def test_init(self):
279 widget = gui.MenuItem('test menu item')
280 widget.append(gui.MenuItem('2nd menu item'))
281 self.assertIn('test menu item', widget.repr())
282 self.assertIn('2nd menu item', widget.repr())
283 assertValidHTML(widget.repr())
284
285class TestTreeView(unittest.TestCase):
286 def test_init(self):

Callers

nothing calls this directly

Calls 3

appendMethod · 0.95
assertValidHTMLFunction · 0.85
reprMethod · 0.45

Tested by

no test coverage detected