Pycharm - no tests were found?

后端 未结 8 2021
鱼传尺愫
鱼传尺愫 2020-12-18 17:52

I\'ve been getting a

No tests were found

error in Pycharm and I can\'t figure out why I\'m getting it... this is what I have f

8条回答
  •  时光说笑
    2020-12-18 18:20

    Don't use dashes ("-") in your filename. These files were being ignored on my machine. renaming them from project-tests.py to project_tests.py solved the problem.

提交回复
热议问题