def test_hist_init(hist):
 with LazyJSON(hist.filename) as lj:
  obs = lj['here']
 assert ('yup' == obs)

def test_hist_init ( hist ) : with LazyJSON ( hist . filename ) as lj : obs = lj [ 'here' ] assert ( 'yup' == obs )
test initialization of the shell history .