Adding new stuff
This commit is contained in:
parent
9ef8a96f9a
commit
0b3d063cb3
1580 changed files with 0 additions and 0 deletions
|
|
@ -1,28 +0,0 @@
|
|||
describe 'pymode-virtualenv'
|
||||
|
||||
before
|
||||
source plugin/pymode.vim
|
||||
set filetype=python
|
||||
end
|
||||
|
||||
after
|
||||
bd!
|
||||
end
|
||||
|
||||
" TODO: How can we mock the virtualenv activation to check that the
|
||||
" proper path is set to pymode_virtualenv_enabled? Right now, the
|
||||
" python function enable_virtualenv gets called but fails when trying
|
||||
" to actually activate so the env.let never gets called
|
||||
|
||||
it 'accepts relative paths'
|
||||
call pymode#virtualenv#activate("sample/relative/path")
|
||||
" Our path variable is the path argument
|
||||
Expect g:pymode_virtualenv_path == "sample/relative/path"
|
||||
end
|
||||
|
||||
it 'accepts absolute paths'
|
||||
call pymode#virtualenv#activate("/sample/absolute/path")
|
||||
" Our path variable is the path argument
|
||||
Expect g:pymode_virtualenv_path == "/sample/absolute/path"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue