1 |
- {"name": "test_002_个人中心-我的收藏[arg_names0]", "status": "broken", "statusDetails": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'D:\\\\TestPythonProject\\\\TEST\\\\test_case\\\\config.yaml'", "trace": "@pytest.fixture(scope=\"session\", autouse=True)\n def clear_yam():\n clear_yaml()\n> login_system(yaml_path)\n\n..\\conftest.py:17: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n..\\conftest.py:24: in login_system\n url =read_config_yaml(\"base\", \"base_qccq_sc\")+ i['request'].pop(\"url\")\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\none_node = 'base', two_nede = 'base_qccq_sc'\n\n def read_config_yaml(one_node, two_nede):\n> with open(get_project_path() + '\\\\config.yaml', mode='r', encoding='utf-8') as f:\nE FileNotFoundError: [Errno 2] No such file or directory: 'D:\\\\TestPythonProject\\\\TEST\\\\test_case\\\\config.yaml'\n\n..\\common\\yaml_util.py:63: FileNotFoundError"}, "parameters": [{"name": "arg_names", "value": "{'name': '个人中心-我的收藏', 'request': {'method': 'post', 'url': '/api/service-app-second/auth/multiModules/pageCollect', 'headers': {'Token': '${read_yaml(token)}'}, 'json': {'pageNo': 1, 'pageSize': 10, 'query': {}}}, 'validate': [{'contains': True}]}"}], "start": 1713165507769, "stop": 1713165507769, "uuid": "5f86dafb-d4fb-4169-b5b7-41b43ef2dd68", "historyId": "1ce498506323b8fe0d818b71e9101de3", "testCaseId": "ffabb18fe975dc59e76af2066dea4055", "fullName": "test_case.test_allAPI.TestAPI#test_002_个人中心-我的收藏", "labels": [{"name": "feature", "value": "用户管理模块"}, {"name": "epic", "value": "青春重庆"}, {"name": "parentSuite", "value": "test_case"}, {"name": "suite", "value": "test_allAPI"}, {"name": "subSuite", "value": "TestAPI"}, {"name": "host", "value": "DESKTOP-LD09QTG"}, {"name": "thread", "value": "25276-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "test_case.test_allAPI"}]}
|