def setUp(self): ps = [] ps.append(g.start_cnf()) ps.append(g.start_mux()) ps.append(g.start_dmx(connectors=['console'])) ps.append(g.start_module('database')) time.sleep(0.15) netconf = g.get_network_config() self.netapi = NetworkAPI(netconf, 'test_db_runner', 'console')
def setUp(self): self.conf_process = process = g.start_cnf() self.mux_p = g.start_mux(parallel=True) self.dmx_p = g.start_dmx(connectors=['websocket','login'], parallel=True) self.db_process = g.start_module('database') self.db_node = g.start_database() self.wsproc = processed(start_websocket, name='ws-connector') self.flask = processed(start_login_http, name='login_http-conn') time.sleep(0.1)
def main(): cnf = g.start_cnf() mux_p = g.start_mux(parallel=True) dmx_p = g.start_dmx(connectors=['websocket'], parallel=True) db_process = g.start_module('database') start_websocket()
def setUp(self): self.conf_process = process = g.start_cnf() time.sleep(0.1) self.mux_p = g.start_mux(parallel=True) self.dmx_p = g.start_dmx(connectors=['websocket'], parallel=True) self.log_p = g.start_module('logger')
def setUp(self): self.conf_process = process = g.start_cnf() time.sleep(0.01) self.mux_p = g.start_mux(parallel=True) self.dmx_p = g.start_dmx(connectors=['console'], parallel=True)