behave-framework/features/environment.py

7 lines
297 B
Python
Raw Normal View History

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