@bdd.then(bdd.parsers.parse('{path} should be loaded'))
def path_should_be_loaded(quteproc, path):
 quteproc.wait_for_load_finished(path)

@ bdd . then ( bdd . parsers . parse ( '{path} should be loaded' ) ) def path_should_be_loaded ( quteproc , path ) : quteproc . wait_for_load_finished ( path )
make sure the given path was loaded according to the log .