项目结构如下:
├── app
│ ├── __init__.py
│ └── utils.py
├── tests
│ ├── test_app.py
app/utils的内容如下:
class A:
pass
以tests/test_app内容如下:
from app.utils import A
def test_app():
pass
直接运行py.test tests/test_app.py,会报找不到 app 这个模块,请问需要怎么修改,才能运行 tests 下面的测试。