We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7634f1 commit 173d3ebCopy full SHA for 173d3eb
test/test_configuration.py
@@ -54,12 +54,12 @@ def test_set_flake8_using_workspace_did_change_configuration(client_server_pair)
54
is False
55
)
56
57
- with patch.object(server, "_hook") as mock_hook:
+ with patch.object(server.workspace, "update_config") as mock_update_config:
58
client._endpoint.notify(
59
"workspace/didChangeConfiguration",
60
{"settings": INITIALIZATION_OPTIONS},
61
62
- wait_for_condition(lambda: mock_hook.call_count >= 1)
+ wait_for_condition(lambda: mock_update_config.call_count >= 1)
63
64
for key, value in INITIALIZATION_OPTIONS["pylsp"]["plugins"].items():
65
assert server.workspace._config.settings().get("plugins").get(key).get(
0 commit comments