@bdd.given('I clean up open tabs')
def clean_open_tabs(quteproc):
 quteproc.set_setting('tabs', 'last-close', 'blank')
 quteproc.send_cmd(':window-only')
 quteproc.send_cmd(':tab-only')
 quteproc.send_cmd(':tab-close')

@ bdd . given ( 'I clean up open tabs' ) def clean_open_tabs ( quteproc ) : quteproc . set_setting ( 'tabs' , 'last-close' , 'blank' ) quteproc . send_cmd ( ':window-only' ) quteproc . send_cmd ( ':tab-only' ) quteproc . send_cmd ( ':tab-close' )
clean up open windows and tabs .