##// END OF EJS Templates
Fixing HTML cell syntax highlighting.
Fixing HTML cell syntax highlighting.

File last commit:

r4406:0251893c
r4505:3896ff19
Show More
test_xml.py
18 lines | 384 B | text/x-python | PythonLexer
from unittest import TestCase
from ..nbxml import reads, writes
from .nbexamples import nb0
import pprint
class TestXML(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)