Commit 1837c248 authored by Lucas Bourneuf's avatar Lucas Bourneuf

dummy test for module loader

parent 4e85387d
from biseau.module_loader import build_scripts_from_asp_code
def test_basic():
scripts = tuple(build_scripts_from_asp_code('link(a,b).'))
assert len(scripts) == 1
script = next(iter(scripts))
assert script.description == 'inline ASP code'
assert script.name == 'inline ASP code'
assert script.input_mode is str
assert not script.options
assert not script.options_values
assert not script.erase_context
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment