Merge pull request #6790 from TWood67/master
Updated Dynamic Scopes Documentation
This commit is contained in:
commit
7c0d1cad40
|
@ -326,7 +326,7 @@ containers for different environments. See the example below.
|
|||
.. code-block:: python
|
||||
|
||||
def determine_scope(fixture_name, config):
|
||||
if config.getoption("--keep-containers"):
|
||||
if config.getoption("--keep-containers", None):
|
||||
return "session"
|
||||
return "function"
|
||||
|
||||
|
|
Loading…
Reference in New Issue