Skip to content

Commit a62f0a1

Browse files
authored
Fix pylint test without pylsp installed (#88)
1 parent b2bdeea commit a62f0a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/fixtures.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ def workspace_other_root_path(tmpdir):
8282
@pytest.fixture
8383
def config(workspace): # pylint: disable=redefined-outer-name
8484
"""Return a config object."""
85-
return Config(workspace.root_uri, {}, 0, {})
85+
cfg = Config(workspace.root_uri, {}, 0, {})
86+
cfg._plugin_settings = {'plugins': {'pylint': {'enabled': False, 'args': [], 'executable': None}}}
87+
return cfg
8688

8789

8890
@pytest.fixture

0 commit comments

Comments
 (0)