pyimport tests

This commit is contained in:
David Halter
2013-08-24 14:34:34 +04:30
parent 2b52548b37
commit c7c266ed29
2 changed files with 19 additions and 1 deletions

18
test/pyimport.vim Normal file
View 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