##// END OF EJS Templates
quieter notebook server output for js test suite
Paul Ivanov -
Show More
@@ -194,11 +194,15 b' class JSController(TestController):'
194 194 TestController.cleanup(self)
195 195
196 196
197 def run_webapp(q, nbdir):
197 def run_webapp(q, nbdir, loglevel=0):
198 198 """start the IPython Notebook, and pass port back to the queue"""
199 199 import IPython.html.notebookapp as nbapp
200 200 server = nbapp.NotebookApp()
201 server.initialize(['--no-browser', '--notebook-dir='+nbdir])
201 args = ['--no-browser']
202 args.append('--notebook-dir='+nbdir)
203 args.append('--profile-dir='+nbdir)
204 args.append('--log-level='+str(loglevel))
205 server.initialize(args)
202 206 # communicate the port number to the parent process
203 207 q.put(server.port)
204 208 server.start()
General Comments 0
You need to be logged in to leave comments. Login now