Beispiel #1
0
 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')
Beispiel #2
0
 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)
Beispiel #3
0
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()
Beispiel #4
0
 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')
Beispiel #5
0
 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)
Beispiel #6
0
 def setUp(self):
     self.conf_process = process = g.start_cnf()
     time.sleep(0.01)