Files
pytest2/example/funcarg/test_simpleprovider.py
2009-05-13 01:47:32 +02:00

8 lines
140 B
Python

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