more lsp tests / pass python a bool on parse (#6975)

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* parse returns bool for python

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-05-15 11:04:53 -07:00
committed by GitHub
parent d34aea345b
commit d93a57d7bf
14 changed files with 89 additions and 26 deletions

View File

@ -53,7 +53,8 @@ async def test_kcl_parse_with_exception():
@pytest.mark.asyncio
async def test_kcl_parse():
# Read from a file.
await kcl.parse(lego_file)
result = await kcl.parse(lego_file)
assert result is True
@pytest.mark.asyncio
@ -63,7 +64,8 @@ async def test_kcl_parse_code():
code = str(f.read())
assert code is not None
assert len(code) > 0
kcl.parse_code(code)
result = kcl.parse_code(code)
assert result is True
@pytest.mark.asyncio