test_ok1/example/funcarg/mysetup/conftest.py

10 lines
145 B
Python

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