Fix TestHoverBudget (not adapted after interface change)

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-02-24 21:44:05 +01:00
1 parent 7ce1d0e564
commit 675384ee3d
1 file changed
+6 -6
+6 -6
View File
@@ -293,7 +293,7 @@ class TestHoverBudget:
# Track _request_info calls
call_count = 0
def counting_request_info(file_path, line, column):
def counting_request_info(file_path, line, column, **kwargs):
nonlocal call_count
call_count += 1
return f"info:{line}:{column}"
@@ -324,7 +324,7 @@ class TestHoverBudget:
call_count = 0
simulated_time = [0.0]
def slow_request_info(file_path, line, column):
def slow_request_info(file_path, line, column, **kwargs):
nonlocal call_count
call_count += 1
# Simulate each hover taking 0.05s
@@ -369,7 +369,7 @@ class TestHoverBudget:
# Track _request_info calls
call_count = 0
def counting_request_info(file_path, line, column):
def counting_request_info(file_path, line, column, **kwargs):
nonlocal call_count
call_count += 1
return f"info:{line}:{column}"
@@ -402,7 +402,7 @@ class TestHoverBudget:
call_count = 0
simulated_time = [0.0]
def slow_request_info(file_path, line, column):
def slow_request_info(file_path, line, column, **kwargs):
nonlocal call_count
call_count += 1
simulated_time[0] += 0.03
@@ -443,7 +443,7 @@ class TestHoverBudget:
# Track _request_info calls
call_count = 0
def counting_request_info(file_path, line, column):
def counting_request_info(file_path, line, column, **kwargs):
nonlocal call_count
call_count += 1
return f"info:{line}:{column}"
@@ -468,7 +468,7 @@ class TestHoverBudget:
# Track _request_info calls
call_count = 0
def counting_request_info(file_path, line, column):
def counting_request_info(file_path, line, column, **kwargs):
nonlocal call_count
call_count += 1
return f"info:{line}:{column}"