Skip to content

Commit

Permalink
lsp: Disable diagnostic tests for now
Browse files Browse the repository at this point in the history
Once we add some errors to the demo we can update and re-enable them
  • Loading branch information
alcarney committed Dec 29, 2023
1 parent 348e652 commit 9000a8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/esbonio/tests/e2e/test_e2e_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ async def pull_client(lsp_client: LanguageClient, uri_for, tmp_path_factory):


@pytest.mark.asyncio
@pytest.mark.skip
async def test_document_diagnostic(pull_client: LanguageClient, uri_for):
"""Ensure that we can get the diagnostics for a single document correctly."""

Expand All @@ -115,6 +116,7 @@ async def test_document_diagnostic(pull_client: LanguageClient, uri_for):


@pytest.mark.asyncio
@pytest.mark.skip
async def test_workspace_diagnostic(pull_client: LanguageClient, uri_for):
"""Ensure that we can get diagnostics for the whole workspace correctly."""
report = await pull_client.workspace_diagnostic_async(
Expand Down Expand Up @@ -212,6 +214,7 @@ async def pub_client(lsp_client: LanguageClient, uri_for, tmp_path_factory):


@pytest.mark.asyncio
@pytest.mark.skip
async def test_publish_diagnostics(pub_client: LanguageClient, uri_for):
"""Ensure that the server publishes the diagnostics it finds"""
workspace_uri = uri_for("sphinx-default", "workspace")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def check_diagnostics(


@pytest.mark.asyncio
@pytest.mark.skip
async def test_diagnostics(client: SubprocessSphinxClient, uri_for):
"""Ensure that the sphinx agent reports diagnostics collected during the build, and
that they are correctly reset when fixed."""
Expand Down

0 comments on commit 9000a8f

Please sign in to comment.