64920ee8-02cd-4de0-9a39-4895f20f5c1d-result.json 2.2 KB

1
  1. {"name": "test_01_case[Ea-EaNumberOfWriteCycles-1000000]", "status": "failed", "statusDetails": {"message": "AssertionError: assert True == False", "trace": "module_name = 'Ea', param_name = 'EaNumberOfWriteCycles'\nexpect_value = '1000000'\n\n @pytest.mark.parametrize(\"module_name, param_name, expect_value\", get_xlsx_data_by_item_type(ItemType.FIXED_VALUE))\n def test_01_case(module_name, param_name, expect_value):\n '''\n 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同。\n 当有一个值与预期值不匹配时,将报错。\n :param module_name:\n :param param_name:\n :param expect_value:\n :return:\n '''\n item = (param_name, expect_value)\n res = check_module_param_check(PROJECT, module_name, item)\n \n> assert True == res\nE assert True == False\n\ntestcase\\test_case.py:28: AssertionError"}, "description": "\n 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同。\n 当有一个值与预期值不匹配时,将报错。\n :param module_name:\n :param param_name:\n :param expect_value:\n :return:\n ", "attachments": [{"name": "log", "source": "075c8e5c-93a3-4a7c-a4dc-812139af7c5f-attachment.txt", "type": "text/plain"}, {"name": "stderr", "source": "bb8c6ad7-57bb-4b57-94e9-fc99b1960b0e-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module_name", "value": "'Ea'"}, {"name": "param_name", "value": "'EaNumberOfWriteCycles'"}, {"name": "expect_value", "value": "'1000000'"}], "start": 1664025600457, "stop": 1664025600468, "uuid": "3aec74c2-0c63-4e96-a2cd-c6b43a64ac93", "historyId": "200ebdca8862b13b531e7457e804ef69", "testCaseId": "50dfac7f92ed636ba422b75a1185bac9", "fullName": "testcase.test_case#test_01_case", "labels": [{"name": "parentSuite", "value": "testcase"}, {"name": "suite", "value": "test_case"}, {"name": "host", "value": "LAPTOP-QT63IHFO"}, {"name": "thread", "value": "22652-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "testcase.test_case"}]}