Coverage.py warning: No data was collected. (no-data-collected)

后端 未结 6 921
我在风中等你
我在风中等你 2020-12-15 16:40

I am trying to find the coverage using coverage module for a django project but gets

Coverage.py warning: No data was collected. (no-data-collected)
         


        
6条回答
  •  再見小時候
    2020-12-15 17:15

    I had the same issue and the above answers did not fully solve it. It turns out you need to have __init__.py was in every subdirectory that has a test.

提交回复
热议问题