##// 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:

r4511:a85c3e74
r4962:8555f5bd
Show More
test_nbpy.py
17 lines | 320 B | text/x-python | PythonLexer
from unittest import TestCase
from ..nbbase import (
NotebookNode,
new_code_cell, new_text_cell, new_worksheet, new_notebook
)
from ..nbpy import reads, writes
from .nbexamples import nb0, nb0_py
class TestPy(TestCase):
def test_write(self):
s = writes(nb0)
self.assertEquals(s,nb0_py)