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

Function test_tranquilized_script

tests/test_handler.py:30–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 assert [hasattr(nb, attr) for attr in ['modules','nodes']]
29
30def test_tranquilized_script():
31 here = dirname(__file__)
32 fn = join(here, 'cheese_shop.py')
33 script = ScriptHandler(fn)
34 script.parse()
35 funcs = script.tranquilized_functions
36 assert len(funcs) == 1
37
38def test_tranquilized_nb():
39 here = dirname(__file__)

Callers

nothing calls this directly

Calls 2

parseMethod · 0.95
ScriptHandlerClass · 0.90

Tested by

no test coverage detected