summaryrefslogtreecommitdiff
path: root/test/command_callback/test_pyflakes_command_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_pyflakes_command_callback.vader')
-rw-r--r--test/command_callback/test_pyflakes_command_callback.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command_callback/test_pyflakes_command_callback.vader b/test/command_callback/test_pyflakes_command_callback.vader
index e8486ca8..491432e9 100644
--- a/test/command_callback/test_pyflakes_command_callback.vader
+++ b/test/command_callback/test_pyflakes_command_callback.vader
@@ -47,3 +47,10 @@ Execute(You should be able to override the pyflakes virtualenv lookup):
AssertEqual ale#Escape('pyflakes') . ' %t',
\ ale_linters#python#pyflakes#GetCommand(bufnr(''))
+
+Execute(Setting executable to 'pipenv' appends 'run pyflakes'):
+ let g:ale_python_pyflakes_executable = 'path/to/pipenv'
+
+ AssertEqual
+ \ ale#Escape('path/to/pipenv') . ' run pyflakes %t',
+ \ ale_linters#python#pyflakes#GetCommand(bufnr(''))