Closed espoirMur closed 4 years ago
Thank you for your report!
I may suggest that the pytest
command refers to a system-wide Python instead of a venv. You may check it by running whereis pytest
.
If my suggestion is right, you could try running it as python -m pytest
.
If that doesn't help, please, send your OS version, Python version, steps to reproduce, i.e. commands you run to create a venv and launch tests, and full logs. I can't reproduce it on my local environment. So I'll probably need all of that to understand what's wrong.
Good, I will do it later today... Thanks for your quick response!
@aby2s, Thanks I manage to make it run...
python -m pytest .
Did the trick...
I just set up the project and I am trying to run the tests, but I am getting this error.
When I run
pytest
I am sure it's not related to my module because when I check if it exists I get this....