@when('we run pgcli')
def step_run_cli(context):
    context.cli = pexpect.spawnu('pgcli')
    context.exit_sent = False
Decorator for views that checks whether a user has a particular permission
dataset/ETHPy150Open dbcli/pgcli/tests/features/steps/step_definitions.py/step_run_cli--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/auth/decorators.py/permission_required