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

Function test_script_parser

tests/test_handler.py:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 assert script.fn == fn
9
10def test_script_parser():
11 here = dirname(__file__)
12 fn = join(here, 'cheese_shop.py')
13 script = ScriptHandler(fn)
14 script.parse()
15 assert [hasattr(script, attr) for attr in ['modules','nodes']]
16
17def test_nb_handler():
18 here = dirname(__file__)

Callers

nothing calls this directly

Calls 2

parseMethod · 0.95
ScriptHandlerClass · 0.90

Tested by

no test coverage detected