Skip to content

Update test_multilspy_csharp.py #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/multilspy/test_multilspy_csharp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@


@pytest.mark.asyncio
@pytest.mark.skip(reason="Need to find alternative repository to test")
async def test_multilspy_csharp_ryujinx():
"""
Test the working of multilspy with C# repository - Ryujinx
Expand Down Expand Up @@ -140,4 +141,4 @@ async def test_multilspy_csharp_ryujinx():
"""
completions = await lsp.request_completions(completions_filepath, 226, 79, allow_incomplete=True)
completions = [completion["completionText"] for completion in completions if completion["kind"] != CompletionItemKind.Keyword]
assert set(completions) == set(['NotSign', 'ParityOdd', 'NotOverflow', 'Less', 'AboveOrEqual', 'LessOrEqual', 'Overflow', 'Greater', 'ParityEven', 'Sign', 'BelowOrEqual', 'Equal', 'GreaterOrEqual', 'Below', 'Above', 'NotEqual'])
assert set(completions) == set(['NotSign', 'ParityOdd', 'NotOverflow', 'Less', 'AboveOrEqual', 'LessOrEqual', 'Overflow', 'Greater', 'ParityEven', 'Sign', 'BelowOrEqual', 'Equal', 'GreaterOrEqual', 'Below', 'Above', 'NotEqual'])
3 changes: 2 additions & 1 deletion tests/multilspy/test_sync_multilspy_csharp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
This file contains tests for running the C# Language Server: OmniSharp
"""

import pytest

from multilspy import SyncLanguageServer
from multilspy.multilspy_config import Language
from tests.test_utils import create_test_context
from pathlib import PurePath


@pytest.mark.skip(reason="Need to find alternative repository for testing")
def test_multilspy_csharp_ryujinx() -> None:
"""
Test the working of multilspy with C# repository - Ryujinx
Expand Down
Loading