summaryrefslogtreecommitdiff
path: root/test/test_python_pipenv.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_python_pipenv.vader')
-rw-r--r--test/test_python_pipenv.vader10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/test_python_pipenv.vader b/test/test_python_pipenv.vader
index 91d957f8..8b1e9ab0 100644
--- a/test/test_python_pipenv.vader
+++ b/test/test_python_pipenv.vader
@@ -1,12 +1,18 @@
+Before:
+ call ale#test#SetDirectory('/testplugin/test')
+
+After:
+ call ale#test#RestoreDirectory()
+
Execute(ale#python#PipenvPresent is true when a pipenv environment is present):
- call ale#test#SetFilename('/testplugin/test/python_fixtures/pipenv/whatever.py')
+ call ale#test#SetFilename('test-files/python/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')
+ call ale#test#SetFilename('test-files/python/no_pipenv/whatever.py')
AssertEqual
\ ale#python#PipenvPresent(bufnr('%')),