Import error when running pytest with both a src and test directory

前端 未结 0 964
死守一世寂寞
死守一世寂寞 2021-01-12 23:58

I am having a hard time understanding why my Flask app runs fine, and all imports work. But when I run pytest the same code can\'t resolve imports. Here is a sample app stru

相关标签:
回答
  • 消灭零回复
提交回复
热议问题