4a1b54f1-957e-46ab-ae65-b019c33bfafa-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": "77e660e9-38f5-4835-a70d-020b9a6d7130-attachment.txt", "type": "text/plain"}, {"name": "stderr", "source": "51f5655f-11e7-4235-a47c-a3bfe1d4d16d-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module_name", "value": "'Ea'"}, {"name": "param_name", "value": "'EaNumberOfWriteCycles'"}, {"name": "expect_value", "value": "'1000000'"}], "start": 1664025538192, "stop": 1664025538204, "uuid": "d06a0d2f-a99e-460c-b380-cd83b706b556", "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": "48112-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "testcase.test_case"}]}