diff --git a/test/test_plugin.py b/test/test_plugin.py index 9263a09..6e13ae3 100644 --- a/test/test_plugin.py +++ b/test/test_plugin.py @@ -23,7 +23,8 @@ def plugin_settings(self, plugin, document_path=None): def test_plugin(): config = FakeConfig() doc = Document(DOC_URI, DOC_TYPE_ERR) - diags = plugin.pyls_lint(config, doc) + workspace = None + diags = plugin.pyls_lint(config, workspace, doc, is_saved=False) assert len(diags) == 1 diag = diags[0]