2020-10-09 20:07:44 +00:00
|
|
|
def before_all(context):
|
|
|
|
# -- SET LOG LEVEL: behave --logging-level=ERROR ...
|
|
|
|
# on behave command-line or in "behave.ini".
|
|
|
|
context.config.setup_logging()
|
|
|
|
|
|
|
|
# -- ALTERNATIVE: Setup logging with a configuration file.
|
|
|
|
# context.config.setup_logging(configfile="behave_logging.ini")
|