Ejemplo n.º 1
0
 def test_020_server_start(self):
     #~ self.wipTest("Pass but freeze nosetests")
     server = None
     with mock.patch('sys.argv', [self.prog, 'start', '--conf_file=tests/data/test_runner_conf_complete.conf']):
         options = vars(jnt_parse_args())
         server = JNTServer(options)
     server.start()
     time.sleep(5)
     server.stop()
Ejemplo n.º 2
0
 def stop(self):
     """Stop the Server
     """
     JNTControllerManager.stop_controller_timer(self)
     JNTControllerManager.stop_controller(self)
     JNTServer.stop(self)
Ejemplo n.º 3
0
 def stop(self):
     """Stop the server the server. Must be called at end of the children class
     """
     self.stop_db()
     JNTServer.stop(self)