##// END OF EJS Templates
KernelManager has port traits instead of multiple ip/port pairs...
KernelManager has port traits instead of multiple ip/port pairs all foo_address traits became foo_port, adding one 'ip' trait for all This matches the Kernel, which does not allow specifying multiple IPs for each channel.

File last commit:

r4533:1c4a699e
r4956:09371f3c
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)