Skip to content Skip to sidebar Skip to footer

Docker Runner Pytest Does Not Collect Testcases

I am successfully put ssh-key to docker runner and it can git clone to do dependencies installation. If I use ordinary build-in python manage.py test it works fine. But I am now w

Solution 1:

Thanks to https://github.com/nicoddemus

His quote on my question on last line show me the /src which is not my directory. It was created on the way.

My pitfall is runner create python dependencies in /src not in the other hidden directories

[pytest]DJANGO_SETTINGS_MODULE = poinkbackend.config.settings.local
python_files = tests.py test_*.py *_tests.py
norecursedirs = src

Post a Comment for "Docker Runner Pytest Does Not Collect Testcases"