summaryrefslogtreecommitdiff
path: root/test/command_callback/test_pyls_command_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_pyls_command_callback.vader')
-rw-r--r--test/command_callback/test_pyls_command_callback.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/command_callback/test_pyls_command_callback.vader b/test/command_callback/test_pyls_command_callback.vader
index aff2fcd7..c03b8aeb 100644
--- a/test/command_callback/test_pyls_command_callback.vader
+++ b/test/command_callback/test_pyls_command_callback.vader
@@ -17,6 +17,11 @@ Execute(The pyls executable should be configurable):
AssertLinter '~/.local/bin/pyls' , ale#Escape('~/.local/bin/pyls')
+Execute(The pyls command callback should let you set options):
+ let g:ale_python_pyls_options = '--some-option'
+
+ AssertLinter 'pyls', ale#Escape('pyls') . ' --some-option'
+
Execute(The pyls executable should be run from the virtualenv path):
call ale#test#SetFilename('python_paths/with_virtualenv/subdir/foo/bar.py')