✅ test(cli): harden startup coverage
This commit is contained in:
@@ -57,6 +57,6 @@ if(BUILD_TESTS)
|
||||
${CMAKE_CURRENT_LIST_DIR}/test_cli_startup.py
|
||||
--server $<TARGET_FILE:tsl-server>)
|
||||
else()
|
||||
message(WARNING "python3 not found; skipping test_lsp_json registration")
|
||||
message(WARNING "python3 not found; skipping test_lsp_json and test_cli_startup registration")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -16,6 +16,7 @@ def run_server(*arguments: str) -> subprocess.CompletedProcess[bytes]:
|
||||
input=b"",
|
||||
capture_output=True,
|
||||
check=False,
|
||||
timeout=5,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user