##// END OF EJS Templates
update patterns for strip_files filter...
update patterns for strip_files filter - catch leading '/files' in href/src - support regular links as well as images in markdown

File last commit:

r7874:4a6836ce
r13868:14fdd274
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)