Files
pytest2/doc/example/funcarg/test_simpleprovider.py
holger krekel 7aee121bd7 move examples to doc directory
--HG--
branch : trunk
2009-10-29 17:54:37 +01:00

8 lines
140 B
Python

# ./test_simpleprovider.py
def pytest_funcarg__myfuncarg(request):
return 42
def test_function(myfuncarg):
assert myfuncarg == 17