def after_scenario(context, _):

    if hasattr(context, 'cli') and not context.exit_sent:
        # Terminate the cli nicely.
        context.cli.terminate()
Send one or more events to Python's logging module, and
dataset/ETHPy150Open j-bennet/wharfee/tests/features/environment.py/after_scenario--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/logger/test/test_stdlib.py/STDLibLogObserverTests.logEvent