def METHOD_NAME(helpers):
    helpers.run_check_output(
        f"{PYINFRA_COMMAND} server.shell uptime postcondition='exit 1'",
        expected_lines=["localhost] Error: postcondition failed: exit 1"],
        expected_exit_code=1,
    )