blob: 91d957f86d7d60eab873118a9efd01684dc2afb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Execute(ale#python#PipenvPresent is true when a pipenv environment is present):
call ale#test#SetFilename('/testplugin/test/python_fixtures/pipenv/whatever.py')
AssertEqual
\ ale#python#PipenvPresent(bufnr('%')),
\ 1
Execute(ale#python#PipenvPresent is false true when no pipenv environment is present):
call ale#test#SetFilename('/testplugin/test/python_fixtures/no_pipenv/whatever.py')
AssertEqual
\ ale#python#PipenvPresent(bufnr('%')),
\ 0
|