alfredodeza / pytest.vim

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

Fix method calls with pdb #42

Closed joetsoi closed 7 years ago

joetsoi commented 8 years ago

Running Pytest method -s runs the entire classes' tests instead of running the test only for that method. This happens because the m_name parameter is not passed to Pdb(). This pr just copies the way RunPyTest() handles the -k parameter and adds it to Pdb()

alfredodeza commented 7 years ago

I still think you need to use the parametrized_flag which you aren't using in your latest commit 22df32b

joetsoi commented 7 years ago

Ah sorry, it's been a while since I looked at this and forgot. I get it sorted.