I use poetry for dependency management.
poetry-mode has poetry-tracking-mode that automatically activates the poetry created venv which is located in ~/.cache/pypoetrey/virtualenvs/...
running the test directly with M-x python-pytest-file works as expected.
Going through the popup and then F to run the tests on a file fails with /usr/bin/sh: 1: pytest: not found
I have pytest only installed as a dev dependency through poetry.
I am fairly new to pytest and emacs so please let me know how I can provide more relevant logs or details.
I use poetry for dependency management.
poetry-mode has poetry-tracking-mode that automatically activates the poetry created venv which is located in ~/.cache/pypoetrey/virtualenvs/...
running the test directly with
M-x python-pytest-fileworks as expected.Going through the popup and then
Fto run the tests on a file fails with/usr/bin/sh: 1: pytest: not foundI have pytest only installed as a dev dependency through poetry.
I am fairly new to pytest and emacs so please let me know how I can provide more relevant logs or details.