forked from python-mode/python-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrope.vim
More file actions
34 lines (26 loc) · 782 Bytes
/
rope.vim
File metadata and controls
34 lines (26 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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