From 3d213961040d3e2b20192d239080b33af43d4388 2013-10-23 18:05:58 From: Paul Ivanov Date: 2013-10-23 18:05:58 Subject: [PATCH] make tests work on TravisCI --- diff --git a/IPython/testing/iptestcontroller.py b/IPython/testing/iptestcontroller.py index d32e648..65377ad 100644 --- a/IPython/testing/iptestcontroller.py +++ b/IPython/testing/iptestcontroller.py @@ -202,7 +202,9 @@ js_test_group_names = {'js'} def run_webapp(q, nbdir, loglevel=0): """start the IPython Notebook, and pass port back to the queue""" + import os import IPython.html.notebookapp as nbapp + os.environ["IPYTHONDIR"] = nbdir server = nbapp.NotebookApp() args = ['--no-browser'] args.append('--notebook-dir='+nbdir)