forked from VimPlug/jedi-vim
pyimport tests
This commit is contained in:
2
jedi
2
jedi
Submodule jedi updated: 2f3304b9f1...951dc52c03
18
test/pyimport.vim
Normal file
18
test/pyimport.vim
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
source plugin/jedi.vim
|
||||
source test/utils.vim
|
||||
|
||||
describe 'pyimport'
|
||||
after
|
||||
bd!
|
||||
bd!
|
||||
end
|
||||
|
||||
it 'open_tab'
|
||||
Pyimport os
|
||||
Expect g:current_buffer_is_module('os') == 1
|
||||
Pyimport subprocess
|
||||
Expect g:current_buffer_is_module('subprocess') == 1
|
||||
Expect tabpagenr('$') == 2
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user