updated documentation

added a default value so a runtime exception does not occur
This commit is contained in:
TWood67 2020-02-21 11:45:24 -06:00 committed by GitHub
parent 2be06ba67e
commit b26e60c2da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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"