Merge pull request #6790 from TWood67/master
Updated Dynamic Scopes Documentation
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user