Closed alexlafroscia closed 8 years ago
Give me some time to replicate this and I will get back to you soon. Thanks for reporting this!
Sure thing :smile:
@alexlafroscia I tried replicating the issue and couldn't. Would you mind setting up something that I can use to replicate the issue? I tried different spaces in the path and was not able to trigger any problems
Yeah, I'll try to put something together.
Alright, so if you unzip this file, open main.py
in Vim and then run Pytest project
, I got an error. If I then check out Pytest session
for more details, it says that there is no directory called path/to/location/failing
.
It seems this only affects project
and nothing else. Can you confirm this on your end? I wasn't able to make it break with function/file/class/method
@alexlafroscia I just pushed 66135d96689b5f7a4211f208d0a83bf83b23523e to master, would you mind updating the plugin and see if that fixes it? I tested locally without problems.
Yup, seems to be fine now! Thanks!
Apparently
pytest.vim
has trouble running tests that have a space in the path to the current directory;pytest
itself doesn't have this problem if run from the command line.