Merge pull request #6790 from TWood67/master

Updated Dynamic Scopes Documentation
This commit is contained in:
Bruno Oliveira
2020-02-21 16:47:22 -03:00
committed by GitHub

View File

@@ -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"