@then(u'we see pgcli prompt')
def step_see_prompt(context):
 _expect_exact(context, u'{0}> '.format(context.conf[u'dbname']), timeout=5)

@ then ( u'we see pgcli prompt' ) def step_see_prompt ( context ) : _expect_exact ( context , u'{0}> ' . format ( context . conf [ u'dbname' ] ) , timeout = 5 )
wait to see the prompt .