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

Method setUp

test/browser_test/test_helloworld_app_gui.py:17–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15
16class TestHelloWorld(unittest.TestCase):
17 def setUp(self):
18 try:
19 self.options = self.OptionsClass()
20 self.options.headless = True
21 self.driver = self.DriverClass(options=self.options)
22 self.driver.implicitly_wait(30)
23 except Exception:
24 self.skipTest("Selenium webdriver is not installed")
25 self.server = remi.Server(MyApp, start=False, address='0.0.0.0', start_browser=False, multiple_instance=True)
26 self.server.start()
27
28 def test_should_open_browser(self):
29 self.driver.get(self.server.address)

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected