def METHOD_NAME():
    with pytest.raises(ParseException) as e_info:
        kdump.KDumpConf(context_wrap(KDUMP_TARGET_CONFLICT_1))
        assert "More than one target is configured" in str(e_info.value)
    with pytest.raises(ParseException) as e_info:
        kdump.KDumpConf(context_wrap(KDUMP_TARGET_CONFLICT_2))
        assert "More than one ext4 type targets" in str(e_info.value)