]> git.eshelyaron.com Git - emacs.git/commit
Eglot: no more tests based on Pylsp (bug#62694)
authorJoão Távora <joaotavora@gmail.com>
Fri, 7 Apr 2023 13:55:01 +0000 (14:55 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 7 Apr 2023 13:55:09 +0000 (14:55 +0100)
commitfc8230f3362b12955152f48565a6c670b4c4cc88
tree327552f3a2bb89eda94cf79280556e5c493eb53c
parentb1f8d98a119ab8845d25d80c480cde6e385d8749
Eglot: no more tests based on Pylsp (bug#62694)

The functionality under test in eglot.el is exactly the same, but use
the clangd server only, as that is used in more tests, and it is much
easier to check if it misbehaves or not.

Tests pass with clangd version 15.

* test/lisp/progmodes/eglot-tests.el (python): Don't require it.
(eglot--call-with-fixture): Simplify.
(eglot--wait-for-clangd): New helper.
(eglot-test-basic-completions)
(eglot-test-non-unique-completions, eglot-test-basic-xref)
(eglot-test-snippet-completions)
(eglot-test-snippet-completions-with-company)
(eglot-test-eldoc-after-completions, eglot-test-multiline-eldoc):
Use clangd, not pylsp.
(eglot-test-formatting): Renamed from
eglot-test-python-autopep-formatting.
(eglot-test-python-yapf-formatting): Remove.
test/lisp/progmodes/eglot-tests.el