@when(u'we paasta_execute_docker_command a command with exit code {code} in container with task id {task_id}')
def run_command_in_container(context, code, task_id):
    cmd = '../paasta_tools/paasta_execute_docker_command.py -i %s -c "exit %s"' % (task_id, code)
    print 'Running cmd %s' % cmd
    exit_code, output = _run(cmd)
    print (exit_code, output) % 'Got exitcode %s with output:\n%s'
    context.return_code = exit_code
dataset/ETHPy150Open Yelp/paasta/general_itests/steps/paasta_execute_docker_command.py/run_command_in_container/swapped operands of `%`