@bdd.given('I have a fresh instance')
def fresh_instance(quteproc):
 quteproc.terminate()
 quteproc.start()

@ bdd . given ( 'I have a fresh instance' ) def fresh_instance ( quteproc ) : quteproc . terminate ( ) quteproc . start ( )
restart qutebrowser instance for tests needing a fresh state .