##// END OF EJS Templates
enable HMAC message signing by default in kernels...
enable HMAC message signing by default in kernels add session_aliases and session_flags to consolidate these settings use new consolidated flags in parallel apps as well add default_secure() function for use in apps where the default behavior should be to enable HMAC signatures.

File last commit:

r4533:1c4a699e
r4962:8555f5bd
Show More
test_json.py
21 lines | 389 B | text/x-python | PythonLexer
import pprint
from unittest import TestCase
from ..nbjson import reads, writes
from .nbexamples import nb0
class TestJSON(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)