@when(u'we delete a named query')
def step_delete_named_query(context):
 context.cli.sendline(u'\\nd foo')

@ when ( u'we delete a named query' ) def step_delete_named_query ( context ) : context . cli . sendline ( u'\\nd foo' )
send d command .