mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 04:15:11 +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
@@ -192,7 +192,7 @@ class TestPascalLanguageServerBasics:
|
||||
contents = hover.get("contents", {})
|
||||
value = contents.get("value", "") if isinstance(contents, dict) else str(contents)
|
||||
else:
|
||||
value = hover.contents.value if hasattr(hover.contents, "value") else str(hover.contents)
|
||||
value = hover.contents.value if hasattr(hover.contents, "value") else str(hover.contents) # type: ignore
|
||||
|
||||
# Should contain the function signature
|
||||
assert "CalculateSum" in value, f"Hover should show function name. Got: {value[:500]}"
|
||||
|
||||
Reference in new issue
Block a user