test_ok1/example/funcarg/test_simpleprovider.py

8 lines
140 B
Python
Raw Normal View History

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