예제 #1
0
파일: testserver.py 프로젝트: nyetsche/loom
    def stop(self):
        xsc_parser = xppf_server_controls.XppfServerControls._get_parser()
        args = xsc_parser.parse_args(['stop', '--require_default_settings'])
        xs = xppf_server_controls.XppfServerControls(args=args)
        xs.main() # stop server

        # Confirm server stopped
        Helper.wait_for_true(self._webserver_stopped, timeout_seconds=5)
예제 #2
0
    def stop(self):
        xsc_parser = xppf_server_controls.XppfServerControls._get_parser()
        args = xsc_parser.parse_args(['stop', '--require_default_settings'])
        xs = xppf_server_controls.XppfServerControls(args=args)
        xs.main()  # stop server

        # Confirm server stopped
        Helper.wait_for_true(self._webserver_stopped, timeout_seconds=5)
예제 #3
0
파일: test_api.py 프로젝트: nyetsche/loom
    def setUp(self):
        # Start server
        xsc_parser = xppf_server_controls.XppfServerControls._get_parser()
        args = xsc_parser.parse_args(['start', '--require_default_settings'])
        self.xs = xppf_server_controls.XppfServerControls(args=args)
        self.xs.main()
        self.server_url = self.xs.settings_manager.get_server_url_for_client()

        # Confirm server started
        Helper.wait_for_true(self._webserver_started, timeout_seconds=5)
예제 #4
0
파일: test_api.py 프로젝트: nyetsche/loom
    def setUp(self):
        # Start server
        xsc_parser = xppf_server_controls.XppfServerControls._get_parser()
        args = xsc_parser.parse_args(['start', '--require_default_settings'])
        self.xs = xppf_server_controls.XppfServerControls(args=args)
        self.xs.main()
        self.server_url = self.xs.settings_manager.get_server_url_for_client()

        # Confirm server started
        Helper.wait_for_true(self._webserver_started, timeout_seconds=5)
예제 #5
0
파일: testserver.py 프로젝트: nyetsche/loom
    def start(self, no_daemon=True):
        xsc_parser = xppf_server_controls.XppfServerControls._get_parser()
        arglist = ['start', '--require_default_settings', '--test_database']
        if no_daemon == True:
            arglist.append('--no_daemon')
        args = xsc_parser.parse_args(arglist)
        self.xs = xppf_server_controls.XppfServerControls(args=args)
        self.xs.main() # start server
        self.server_url = self.xs.settings_manager.get_server_url_for_client()

        # Confirm server started
        Helper.wait_for_true(self._webserver_started, timeout_seconds=5)
예제 #6
0
    def start(self, no_daemon=True):
        xsc_parser = xppf_server_controls.XppfServerControls._get_parser()
        arglist = ['start', '--require_default_settings', '--test_database']
        if no_daemon == True:
            arglist.append('--no_daemon')
        args = xsc_parser.parse_args(arglist)
        self.xs = xppf_server_controls.XppfServerControls(args=args)
        self.xs.main()  # start server
        self.server_url = self.xs.settings_manager.get_server_url_for_client()

        # Confirm server started
        Helper.wait_for_true(self._webserver_started, timeout_seconds=5)
예제 #7
0
 def wait_for_job(self):
     Helper.wait_for_true(self.is_workflow_complete, timeout_seconds=20)
예제 #8
0
 def wait_for_job(self):
     Helper.wait_for_true(self.is_workflow_complete, timeout_seconds=20)