summaryrefslogtreecommitdiff
path: root/test/linter/test_jedils.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_jedils.vader')
-rw-r--r--test/linter/test_jedils.vader14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/linter/test_jedils.vader b/test/linter/test_jedils.vader
index 5ffd22d8..a86d80d6 100644
--- a/test/linter/test_jedils.vader
+++ b/test/linter/test_jedils.vader
@@ -47,3 +47,17 @@ Execute(Setting executable to 'pipenv' appends 'run jedi-language-server'):
call ale#test#SetFilename('../test-files/dummy')
AssertLinter 'path/to/pipenv', ale#Escape('path/to/pipenv') . ' run jedi-language-server'
+
+Execute(poetry is detected when python_jedils_auto_poetry is set):
+ let g:ale_python_jedils_auto_poetry = 1
+ call ale#test#SetFilename('../test-files/python/poetry/whatever.py')
+
+ AssertLinter 'poetry',
+ \ ale#Escape('poetry') . ' run jedi-language-server'
+
+Execute(uv is detected when python_jedils_auto_uv is set):
+ let g:ale_python_jedils_auto_uv = 1
+ call ale#test#SetFilename('../test-files/python/uv/whatever.py')
+
+ AssertLinter 'uv',
+ \ ale#Escape('uv') . ' run jedi-language-server'