##// END OF EJS Templates
Make sure comm-dead is applied to the top widget view class...
Make sure comm-dead is applied to the top widget view class in all cases where the kernel disconnects.

File last commit:

r7874:4a6836ce
r19566:a05a9fce
Show More
test_json.py
14 lines | 219 B | text/x-python | PythonLexer
from unittest import TestCase
from ..nbjson import reads, writes
from .nbexamples import nb0
class TestJSON(TestCase):
def test_roundtrip(self):
s = writes(nb0)
self.assertEqual(reads(s),nb0)