Adding new stuff

This commit is contained in:
ViktorBarzin 2017-12-10 00:00:02 +00:00
parent 3d621f7993
commit 91c18a10da
449 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1,34 @@
let g:pymode_rope_completion_bind = 'X'
let g:pymode_rope_autoimport = 0
let g:pymode_debug = 1
let g:pymode_rope_lookup_project = 0
source plugin/pymode.vim
describe 'pymode-plugin'
before
set filetype=python
end
after
bd!
bd!
end
it 'pymode rope auto open project in current working directory'
if $TRAVIS != ""
SKIP 'Travis fails on this test'
endif
let project_path = getcwd() . '/.ropeproject'
Expect isdirectory(project_path) == 0
normal oimporX
Expect getline('.') == 'import'
Expect g:pymode_rope_current == getcwd() . '/'
Expect g:pymode_rope_current . '.ropeproject' == project_path
Expect isdirectory(project_path) == 1
end
end