|
1 | | -import pytest |
2 | 1 | from lsprotocol.types import Position |
3 | 2 | from sqlmesh.core.context import Context |
4 | 3 | from sqlmesh.lsp.context import LSPContext, ModelTarget, AuditTarget |
5 | 4 | from sqlmesh.lsp.reference import get_model_definitions_for_a_path, by_position |
6 | 5 | from sqlmesh.lsp.uri import URI |
7 | 6 |
|
8 | 7 |
|
9 | | -@pytest.mark.fast |
10 | 8 | def test_reference() -> None: |
11 | 9 | context = Context(paths=["examples/sushi"]) |
12 | 10 | lsp_context = LSPContext(context) |
@@ -39,7 +37,6 @@ def test_reference() -> None: |
39 | 37 | assert referenced_text == "sushi.customers" |
40 | 38 |
|
41 | 39 |
|
42 | | -@pytest.mark.fast |
43 | 40 | def test_reference_with_alias() -> None: |
44 | 41 | context = Context(paths=["examples/sushi"]) |
45 | 42 | lsp_context = LSPContext(context) |
@@ -79,7 +76,6 @@ def test_reference_with_alias() -> None: |
79 | 76 | assert get_string_from_range(read_file, references[2].range) == "sushi.items" |
80 | 77 |
|
81 | 78 |
|
82 | | -@pytest.mark.fast |
83 | 79 | def test_standalone_audit_reference() -> None: |
84 | 80 | context = Context(paths=["examples/sushi"]) |
85 | 81 | lsp_context = LSPContext(context) |
@@ -129,7 +125,6 @@ def get_string_from_range(file_lines, range_obj) -> str: |
129 | 125 | return result |
130 | 126 |
|
131 | 127 |
|
132 | | -@pytest.mark.fast |
133 | 128 | def test_filter_references_by_position() -> None: |
134 | 129 | """Test that we can filter references correctly based on cursor position.""" |
135 | 130 | context = Context(paths=["examples/sushi"]) |
|
0 commit comments