MCPcopy Create free account
hub / github.com/ContinuumIO/tranquilizer / test_nb_parser

Function test_nb_parser

tests/test_handler.py:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 assert nb.fn == fn
22
23def test_nb_parser():
24 here = dirname(__file__)
25 fn = join(here, 'cheese_shop.ipynb')
26 nb = NotebookHandler(fn)
27 nb.parse()
28 assert [hasattr(nb, attr) for attr in ['modules','nodes']]
29
30def test_tranquilized_script():
31 here = dirname(__file__)

Callers

nothing calls this directly

Calls 2

parseMethod · 0.95
NotebookHandlerClass · 0.90

Tested by

no test coverage detected