MCPcopy
hub / github.com/marimo-team/marimo / test_pylsp_server

Function test_pylsp_server

tests/_server/test_lsp.py:216–235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214
215
216async def test_pylsp_server():
217 import sys
218
219 server = PyLspServer(port=8000)
220
221 assert isinstance(server.validate_requirements(), (str, bool))
222 assert server.get_command() == [
223 sys.executable,
224 "-m",
225 "pylsp",
226 "--ws",
227 "-v",
228 "--port",
229 "8000",
230 "--check-parent-process",
231 "--log-file",
232 str(get_log_directory() / "pylsp.log"),
233 ]
234 alert = server.missing_binary_alert()
235 assert "Python LSP" in alert.title
236
237
238def test_copilot_server():

Callers

nothing calls this directly

Calls 5

validate_requirementsMethod · 0.95
get_commandMethod · 0.95
missing_binary_alertMethod · 0.95
PyLspServerClass · 0.90
get_log_directoryFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…