doc: mention that pytest.fixture's param is in request.param

This commit is contained in:
Daniel Hahler
2019-04-02 17:36:52 +02:00
parent 15ea5cef46
commit 9434541090

View File

@@ -1021,6 +1021,7 @@ def fixture(scope="function", params=None, autouse=False, ids=None, name=None):
:arg params: an optional list of parameters which will cause multiple
invocations of the fixture function and all of the tests
using it.
The current parameter is available in ``request.param``.
:arg autouse: if True, the fixture func is activated for all tests that
can see it. If False (the default) then an explicit