##// END OF EJS Templates
Moved get_msg_cell which depends on notebook specific logic...
Moved get_msg_cell which depends on notebook specific logic into the WidgetManager for easy override. Also removed almost all of the logic that refers to cell.output_area inside the model and replaced it with logic that uses cell.

File last commit:

r7874:4a6836ce
r14378:3c4d9962
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)