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": "06efdeb1-8567-4939-ac20-bc20b66cbce2-attachment.txt", "type": "text/plain"}, {"name": "stderr", "source": "df5ec792-4c8b-4394-862c-c72016e92b13-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "module_name", "value": "'Ea'"}, {"name": "param_name", "value": "'EaNumberOfWriteCycles'"}, {"name": "expect_value", "value": "'1000000'"}], "start": 1664027532871, "stop": 1664027532882, "uuid": "6629ad5d-dd8e-4337-b7a6-0a6d25d54c28", "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": "47072-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "testcase.test_case"}]}
|