IDLE: PyCharm Runner: pytest
When I have a test file and a folder with the same name in the same dir I'm not able to run my test. I need this structure when using tmpdir as dependency injection to not mess my _test
directory with several script
files in the same dir.
Ways it works:
- If the folder has no
.py
file inside it. - If I run the whole file instead of just a test inside it.
Reproducing Error:
I was going to report it but I already found a thread about it: https://youtrack.jetbrains.com/issue/PY-25260
Does anyone know a fix for this?
Aucun commentaire:
Enregistrer un commentaire