diff --git a/README.md b/README.md index 1d3213d..858244a 100644 --- a/README.md +++ b/README.md @@ -11,5 +11,5 @@ It's pathogen compliant, so just drop in your bundle directory ## Commands -- RunAllNoseTests - runs all the nose tests in a file +- RunAllNoseTests - runs all the nose tests in the directory - RunFocusedNoseTests - runs the current test under the cursor (requires nose-run-line-number) diff --git a/plugin/python.vim b/plugin/python.vim index 95aa57f..0764fc6 100644 --- a/plugin/python.vim +++ b/plugin/python.vim @@ -17,7 +17,7 @@ endfunction function s:RunAllNoseTests() let virtualenv = FindVirtualEnv() - call VimuxRunCommand("clear; " . virtualenv . "nosetests *.py") + call VimuxRunCommand("clear; " . virtualenv . "nosetests") endfunction function s:RunCurrentNoseTests()