mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 20:15:56 +00:00
Enable ty rule 'unresolved-attribute' for test/
This commit is contained in:
1 parent
2a6deef838
commit
3ad4044c69
24 files changed
+67
-38
No files matched your search
@@ -46,6 +46,7 @@ class TestLanguageServerSymbols:
|
||||
with language_server.open_file(file_path, open_in_ls=False) as f:
|
||||
file_content = f.contents
|
||||
coords = find_text_coordinates(file_content, r"(status): str")
|
||||
assert coords is not None
|
||||
ref_symbols = [ref.symbol for ref in language_server.request_referencing_symbols(file_path, coords.line, coords.col)]
|
||||
|
||||
assert len(ref_symbols) > 0
|
||||
|
||||
Reference in new issue
Block a user