alfredodeza / pytest.vim

Runs your UnitTests with py.test displaying red/green bars and errors
274 stars 39 forks source link

Green bar when py.test not installed #10

Closed ryanpetrello closed 12 years ago

ryanpetrello commented 12 years ago

Not sure if there's anything you can do about this, but something I noticed while working in a new virtualenv today:

If you run pytest.vim, but don't have py.test installed, the results bar is green. If you show open the results, it shows a message indicating that it couldn't find py.test. Maybe the bar should be red instead if py.test isn't installed?

alfredodeza commented 12 years ago

This was a known bug from the latest release of pytest.vim that is fixed on the current master branch. Could you please make sure you pull --rebase from master and see if the problem goes away?

What you should see is an error message instead. Re-open this issue if you still get the same odd behavior.

ryanpetrello commented 12 years ago

Ack, I've broken the cardinal rule of bug reports - make sure it hasn't already been reported/fixed!

I can confirm that this works for me after pulling down the latest.