pytest fixtures in a separate directory

后端 未结 3 904
渐次进展
渐次进展 2020-12-16 14:35

I\'m looking to create a pytest structure where I can separate the fixtures from the tests completely. The reason for this separation is that I want to include the fixtures

3条回答
  •  甜味超标
    2020-12-16 15:26

    Did you try importing your fixtures in project/conftest.py? Is that what you mean by "wrappers to return an instance"?

提交回复
热议问题