From aa145fa83e6b2d6e7abcf408bc9df2893d5f4f52 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 29 Jul 2016 12:47:30 -0300 Subject: [PATCH] Add 'invocation' scope option to fixture docstring --- _pytest/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/fixtures.py b/_pytest/fixtures.py index 080d82b57..d4c70f590 100644 --- a/_pytest/fixtures.py +++ b/_pytest/fixtures.py @@ -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