test_ok1/example/funcarg/mysetup/conftest.py

11 lines
181 B
Python
Raw Normal View History

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