summaryrefslogtreecommitdiff
path: root/test/linter/test_unimport.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/linter/test_unimport.vader')
-rw-r--r--test/linter/test_unimport.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/linter/test_unimport.vader b/test/linter/test_unimport.vader
index a5607ce9..9e8e9112 100644
--- a/test/linter/test_unimport.vader
+++ b/test/linter/test_unimport.vader
@@ -69,3 +69,10 @@ Execute(Poetry is detected when python_unimport_auto_poetry is set):
AssertLinterCwd expand('#' . bufnr('') . ':p:h')
AssertLinter 'poetry', ale#Escape('poetry') . ' run unimport --check %t'
+
+Execute(uv is detected when python_unimport_auto_uv is set):
+ call ale#test#SetFilename('../test-files/python/uv/whatever.py')
+ let g:ale_python_unimport_auto_uv = 1
+
+ AssertLinterCwd expand('#' . bufnr('') . ':p:h')
+ AssertLinter 'uv', ale#Escape('uv') . ' run unimport --check %t'