##// END OF EJS Templates
Fixing logic for rename behavior.
Fixing logic for rename behavior.

File last commit:

r4406:0251893c
r4632:6d3001f6
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)