##// END OF EJS Templates
Updates to basic notebook format....
Updates to basic notebook format. * The format now handles multiple output blocks. * XML now as worksheets, cells and outputs tags.

File last commit:

r4401:f3a5072f
r4402:4b0e672c
Show More
test_json.py
14 lines | 257 B | text/x-python | PythonLexer
Brian E. Granger
Initial draft of more formal notebook format....
r4401 from unittest import TestCase
from IPython.nbformat.nbjson import reads, writes
from IPython.nbformat.tests.nbexamples import nb0
class TestJSON(TestCase):
def test_roundtrip(self):
s = writes(nb0)
self.assertEquals(reads(s),nb0)