test_ok1/doc/example/funcarg/mysetup/conftest.py

10 lines
153 B
Python

from mysetup.myapp import MyApp
def pytest_funcarg__mysetup(request):
return MySetup()
class MySetup:
def myapp(self):
return MyApp()