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

Method test_main

test/test_examples_app.py:55–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 self.app.on_close()
54
55 def test_main(self):
56 self.app = self.AppClass(MockRequest(), ('0.0.0.0', 8888), MockServer())
57 root_widget = self.app.main()
58 html = root_widget.repr()
59 assertValidHTML(html)
60
61class TestAppendAndRemoveWidgetsApp(unittest.TestCase):
62 @classmethod

Callers

nothing calls this directly

Calls 5

MockRequestClass · 0.85
MockServerClass · 0.85
assertValidHTMLFunction · 0.85
mainMethod · 0.45
reprMethod · 0.45

Tested by

no test coverage detected