1 |
- {"uid":"44c9c0a34618f34","name":"test_01_case[Ea-EaNumberOfWriteCycles-1000000]","fullName":"testcase.test_case#test_01_case","historyId":"200ebdca8862b13b531e7457e804ef69","time":{"start":1664025632306,"stop":1664025632317,"duration":11},"description":"\n 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同。\n 当有一个值与预期值不匹配时,将报错。\n :param module_name:\n :param param_name:\n :param expect_value:\n :return:\n ","descriptionHtml":"<pre><code>该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同。\n当有一个值与预期值不匹配时,将报错。\n:param module_name:\n:param param_name:\n:param expect_value:\n:return:\n</code></pre>\n","status":"failed","statusMessage":"AssertionError: assert True == False","statusTrace":"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","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"testStage":{"description":"\n 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同。\n 当有一个值与预期值不匹配时,将报错。\n :param module_name:\n :param param_name:\n :param expect_value:\n :return:\n ","status":"failed","statusMessage":"AssertionError: assert True == False","statusTrace":"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","steps":[],"attachments":[{"uid":"7ffa3dd7c48c55a6","name":"log","source":"7ffa3dd7c48c55a6.txt","type":"text/plain","size":1835},{"uid":"c870bd10d9a78af9","name":"stderr","source":"c870bd10d9a78af9.txt","type":"text/plain","size":1479}],"parameters":[],"hasContent":true,"stepsCount":0,"attachmentsCount":2,"shouldDisplayMessage":true},"afterStages":[],"labels":[{"name":"parentSuite","value":"testcase"},{"name":"suite","value":"test_case"},{"name":"host","value":"LAPTOP-QT63IHFO"},{"name":"thread","value":"3620-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"testcase.test_case"},{"name":"resultFormat","value":"allure2"}],"parameters":[{"name":"expect_value","value":"'1000000'"},{"name":"module_name","value":"'Ea'"},{"name":"param_name","value":"'EaNumberOfWriteCycles'"}],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"44c9c0a34618f34.json","parameterValues":["'1000000'","'Ea'","'EaNumberOfWriteCycles'"]}
|