def get_client_arf_to_json_with_define_dest(src, rule, out_src=None):
    out_src = str(uuid.uuid4()) + ".json" if out_src is None else out_src
    return ArfToJson([
        "--output",
        tests.any_test_help.get_src(
            os.path.join(tempfile.gettempdir(), out_src)),
        tests.any_test_help.get_src(src), rule
    ])
def get_client_arf_to_json_with_option_show_not_selected_rules_and_show_failed_rules(
        src, rule):
    return ArfToJson([
        "--show-not-selected-rules", "--show-failed-rules",
        tests.any_test_help.get_src(src), rule
    ])
def get_client_arf_to_json(src, rule):
    return ArfToJson([tests.any_test_help.get_src(src), rule])