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

Method test_init

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

Source from the content-addressed store, hash-verified

60
61class TestTabBox(unittest.TestCase):
62 def test_init(self):
63 w = gui.TabBox()
64 l = gui.Label('testTabBox_label')
65 w.add_tab(l, key='testtabbox', callback=None)
66 self.assertIn('testTabBox_label',w.repr())
67 assertValidHTML(w.repr())
68
69
70class TestButton(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

add_tabMethod · 0.95
assertValidHTMLFunction · 0.85
reprMethod · 0.45

Tested by

no test coverage detected