Skip clojure tests on incompatible or missing cli

This commit is contained in:
Miguel de Benito Delgado
2025-06-28 20:37:29 +02:00
parent e7f5acd7d9
commit 151df419ae
2 changed files with 15 additions and 0 deletions
@@ -4,8 +4,11 @@ from solidlsp.ls import SolidLanguageServer
from solidlsp.ls_config import Language
from solidlsp.ls_types import UnifiedSymbolInformation
from . import CLOJURE_CLI_FAIL
@pytest.mark.clojure
@pytest.mark.skipif(CLOJURE_CLI_FAIL, reason=f"Clojure CLI not available: {CLOJURE_CLI_FAIL}")
class TestLanguageServerBasics:
@pytest.mark.parametrize("language_server", [Language.CLOJURE], indirect=True)
def test_basic_definition(self, language_server: SolidLanguageServer):