VimPlugin: vim-pyunit
From wikinotes
NOTE:
use VimPlugin: vim-test instead
vim pyunit integrates nose into vim, allowing you to test functions/modules as you write/refactor straight from your editor. Very practical.
sudo pacman -S python2-nose python2-mock
packer -S vim_bridge-git
pip2 install nose_machine
git clone https://github.com/joakimkarlsson/nose-machineout.git
python2 setup.py install