Files
pytest2/example/funcarg/mysetup/conftest.py
holger krekel 65a04bc3be simplify example code
--HG--
branch : trunk
2009-05-13 01:55:11 +02:00

11 lines
181 B
Python

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