Add 'invocation' scope option to fixture docstring

This commit is contained in:
Bruno Oliveira 2016-07-29 12:47:30 -03:00
parent 76fbc6379f
commit aa145fa83e
1 changed files with 1 additions and 1 deletions

View File

@ -836,7 +836,7 @@ def fixture(scope="function", params=None, autouse=False, ids=None, name=None):
function will be injected.
:arg scope: the scope for which this fixture is shared, one of
"function" (default), "class", "module", "session".
"function" (default), "class", "module", "session" or "invocation".
:arg params: an optional list of parameters which will cause multiple
invocations of the fixture function and all of the tests