#NEWLINE# def after_scenario( context , _ ) : #NEWLINE# #INDENT# '\n    Cleans up after each test complete.\n    ' #NEWLINE# if ( hasattr ( context , 'cli' ) and ( not context . exit_sent ) ) : #NEWLINE# #INDENT# context . cli . terminate ( )