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:
@ -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
|
||||
|
Reference in New Issue
Block a user