{
    "path": "$OET_PATH/testcases/function_test/pkg_test/file/python3-magic",
    "machine num": 1,
    "cases": [
        {
            "name": "test_python3-magic_file_help",
            "desc": "测试 file 命令的 --help 参数，显示帮助信息"
        },
        {
            "name": "test_python3-magic_file_version",
            "desc": "测试 file 命令的 -v 或 --version 参数，显示版本信息"
        },
        {
            "name": "test_python3-magic_file_magic_file",
            "desc": "测试 file 命令的 -m 或 --magic-file 参数，指定 magic number 文件列表"
        },
        {
            "name": "test_python3-magic_file_uncompress",
            "desc": "测试 file 命令的 -z 或 --uncompress 参数，尝试查看压缩文件内容"
        },
        {
            "name": "test_python3-magic_file_brief",
            "desc": "测试 file 命令的 -b 或 --brief 参数，不显示文件名前缀"
        },
        {
            "name": "test_python3-magic_file_mime",
            "desc": "测试 file 命令的 -i 或 --mime 参数，输出 MIME 类型字符串"
        },
        {
            "name": "test_python3-magic_file_mime_encoding",
            "desc": "测试 file 命令的 --mime-encoding 参数，输出 MIME 编码"
        },
        {
            "name": "test_python3-magic_install_package",
            "desc": "测试软件包能否正确安装"
        },
        {
            "name": "test_python3-magic_check_version",
            "desc": "测试检查已安装python3-magic的版本"
        },
        {
            "name": "test_python3-magic_basic_detect",
            "desc": "测试库对普通文件（如txt）进行基本MIME类型检测"
        },
        {
            "name": "test_python3-magic_mime_detect",
            "desc": "测试库返回文件（如图片）的MIME类型"
        },
        {
            "name": "test_python3-magic_encoding_detect",
            "desc": "测试库检测文件（如UTF-8文本）的编码"
        },
        {
            "name": "test_python3-magic_magic_file_param",
            "desc": "测试库使用自定义magic文件进行检测"
        },
        {
            "name": "test_python3-magic_buffer_detect",
            "desc": "测试库对字节缓冲区进行文件类型检测"
        },
        {
            "name": "test_python3-magic_uninstall_package",
            "desc": "测试软件包能否正确卸载"
        }
    ]
}