##// END OF EJS Templates
add early shutdown detection, and public-ip message to ipcluster/ipengine...
add early shutdown detection, and public-ip message to ipcluster/ipengine When engines fail to connect, the error message will describe the most likely cause (not instructing the controller to listen on a public interface). An similar message is included in ipcluster, but due to restrictions, its trigger is purely time-based.

File last commit:

r4533:1c4a699e
r5205:b85092ac
Show More
test_json.py
21 lines | 389 B | text/x-python | PythonLexer
import pprint
from unittest import TestCase
from ..nbjson import reads, writes
from .nbexamples import nb0
class TestJSON(TestCase):
def test_roundtrip(self):
s = writes(nb0)
# print
# print pprint.pformat(nb0,indent=2)
# print
# print pprint.pformat(reads(s),indent=2)
# print
# print s
self.assertEquals(reads(s),nb0)