@then(u'we should get exit code {expected_exit_code:d}')
def check_exit_code(context, expected_exit_code):
    try:
        assert context.exit_code == expected_exit_code, \
            "expected %d, got %d" % (expected_exit_code, context.exit_code)
    except __HOLE__:
        # behave likes to back up by two lines and then print some stuff, which clobbers my output, so I stick some
        # extra newlines on here.
        print "Output of setup_chronos_job:\n" + context.output + "\n\n"
        raise
dataset/ETHPy150Open Yelp/paasta/paasta_itests/steps/setup_chronos_job_steps.py/check_exit_code