When pytest is called without an argument it returns a coverage grater than one even when tests are not run. To solve this issue it is sufficient to add the name of the folder containing the tests as an argument to pytest in Makefile:
${PYTHON} -m pytest tests
When pytest is called without an argument it returns a coverage grater than one even when tests are not run. To solve this issue it is sufficient to add the name of the folder containing the tests as an argument to pytest in Makefile:
${PYTHON} -m pytest tests