##// END OF EJS Templates
Respect DB_IP and DB_PORT in mongodb tests....
Respect DB_IP and DB_PORT in mongodb tests. It is usually preferred to run tests on a test-local database with dedicated mongod instance rather than using the system-wide database. In order to support that, an easy way of providing the proper port is handy. For example, pymongo test suite uses DB_IP and DB_PORT environment variables to allow providing an alternate mongod instance. Using the same variable names in IPython's test suite seems a good idea.

File last commit:

r9372:37f32253
r9539:b0f830ff
Show More
__init__.py
20 lines | 554 B | text/x-python | PythonLexer
MinRK
update tornado dependency to 2.1...
r4856 """The IPython HTML Notebook"""
# check for tornado 2.1.0
msg = "The IPython Notebook requires tornado >= 2.1.0"
try:
import tornado
except ImportError:
raise ImportError(msg)
Matthew Brett
Fix for tornado check for tornado < 1.1.0...
r6132 try:
version_info = tornado.version_info
except AttributeError:
raise ImportError(msg + ", but you have < 1.1.0")
if version_info < (2,1,0):
raise ImportError(msg + ", but you have %s" % tornado.version)
MinRK
update tornado dependency to 2.1...
r4856 del msg
MinRK
add pyzmq check to notebook.__init__...
r6630
# check for pyzmq 2.1.4
MinRK
mv IPython.zmq to IPython.kernel.zmq
r9372 from IPython.kernel.zmq import check_for_zmq
MinRK
add pyzmq check to notebook.__init__...
r6630 check_for_zmq('2.1.4', 'IPython.frontend.html.notebook')
del check_for_zmq