I have 2 files in my project (a.py and b.py). a.py file is imported in the unit test file (test_prog.py) and there are tests written for it. Pytest-cov shows the coverage for this file.
However for the other file b.py - it is not seen in the code coverage output. Pytest-cov does not consider a file for coverage analysis unless it is imported in one of the unit tests?
 
     
    