blob: 11d202fdda18d974a652930021198983f754f8ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Before:
call ale#test#SetDirectory('/testplugin/test')
After:
call ale#test#RestoreDirectory()
Execute(ale#python#UvPresent is true when a uv environment is present):
call ale#test#SetFilename('test-files/python/uv/whatever.py')
AssertEqual
\ ale#python#UvPresent(bufnr('%')),
\ 1
Execute(ale#python#UvPresent is false when no uv environment is present):
call ale#test#SetFilename('test-files/python/no_uv/whatever.py')
AssertEqual
\ ale#python#UvPresent(bufnr('%')),
\ 0
|