Skip to content

Commit 7fea5e5

Browse files
ruff
1 parent 19df844 commit 7fea5e5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/lsp/test_reference_model_column_prefix.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from lsprotocol.types import Position
22
from sqlmesh.core.context import Context
33
from sqlmesh.lsp.context import LSPContext, ModelTarget
4-
from sqlmesh.lsp.reference import get_all_references, get_references, LSPModelReference
4+
from sqlmesh.lsp.reference import get_all_references
55
from sqlmesh.lsp.uri import URI
66
from tests.lsp.test_reference_cte import find_ranges_from_regex
77

@@ -63,9 +63,7 @@ def test_column_prefix_references_are_found():
6363
ranges = find_ranges_from_regex(read_file, r"sushi\.orders")
6464

6565
# Should find exactly 2: FROM clause and WHERE clause with column prefix
66-
assert len(ranges) == 2, (
67-
f"Expected 2 occurrences of 'sushi.orders', found {len(ranges)}"
68-
)
66+
assert len(ranges) == 2, f"Expected 2 occurrences of 'sushi.orders', found {len(ranges)}"
6967

7068
# Verify we have the expected lines
7169
line_contents = [read_file[r.start.line].strip() for r in ranges]

0 commit comments

Comments
 (0)