You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip3 install youqu-framework
youqu-startproject my_project
cd my_project
bash env.sh
youqu manage.py startapp autotest_my_app
youqu manage.py run
执行报错
(my_project) ╭─kubuntu at kubuntu-ThinkBook-14-G2-ITL in~/my_project 25-04-14 - 16:21:36
╰─(.venv) ○ youqu manage.py run
Courtesy Notice:
Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set
PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead.
You can set PIPENV_VERBOSITY=-1 to suppress this warning.
██╗ ██╗ ██████╗ ██╗ ██╗ ██████╗ ██╗ ██╗
╚██╗ ██╔╝ ██╔═══██╗ ██║ ██║ ██╔═══██╗ ██║ ██║
╚████╔╝ ██║ ██║ ██║ ██║ ██║ ██║ ██║ ██║
╚██╔╝ ██║ ██║ ██║ ██║ ██║▄▄ ██║ ██║ ██║
██║ ╚██████╔╝ ╚██████╔╝ ╚██████╔╝ ╚██████╔╝
╚═╝ ╚═════╝ ╚═════╝ ╚══▀▀═╝ ╚═════╝
╱╭━━━╮╱╱╱╱╱╭╮╱╱╭╮╱╭╮╱╱╱╱╭━━━╮╱
╱┃╭━╮┃╱╱╱╱╭╯┃╱╱┃┃╱┃┃╱╱╱╱┃╭━╮┃╱
╱╰╯╭╯┃╱╱╱╱╰╮┃╱╱┃╰━╯┃╱╱╱╱┃┃┃┃┃╱
╱╭━╯╭╯╱╱╱╱╱┃┃╱╱╰━━╮┃╱╱╱╱┃┃┃┃┃╱
╱┃╰━━╮╱╭╮╱╭╯╰╮╱╱╱╱┃┃╱╭╮╱┃╰━╯┃╱
╱╰━━━╯╱╰╯╱╰━━╯╱╱╱╱╰╯╱╰╯╱╰━━━╯╱
Code: https://github.com/linuxdeepin/youqu
Docs: https://youqu.uniontech.com/
PyPI: https://pypi.org/project/youqu
============================================================
x86_64-92: 04/14 16:21:37 | INFO | [pytest_sessionstart]: 当前系统显示协议为 X11
=========================================================================================================== test session starts ============================================================================================================
collecting ... x86_64-92: 04/14 16:21:37 | ERROR | [pytest_collection_modifyitems]:
csv_path: /home/kubunu/my_project/apps/autotest_deepin_some/mycase.csv
tags: ['']
error_tag_index: 8
collected 2 items
用例收集数量: 2
用例文件数量: 2
失败重跑次数: 1
最大失败次数: 2
用例超时时间: 1800.0s (030分0秒)
会话超时时间: 3600.0s (1小时00秒)
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/home/kubunu/my_project/conftest.py", line 344, in pytest_collection_modifyitems
INTERNALERROR>if containers[csv_path][ConfStr.REMOVED_INDEX.value] is not None and tags[
INTERNALERROR> ^^^^^
INTERNALERROR> IndexError: list index out of range
INTERNALERROR>
INTERNALERROR> The above exception was the direct cause of the following exception:
INTERNALERROR>
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/_pytest/main.py", line 269, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/_pytest/main.py", line 322, in _main
INTERNALERROR> config.hook.pytest_collection(session=session)
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__
INTERNALERROR>return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR>return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall
INTERNALERROR>returnoutcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result
INTERNALERROR> raise exc.with_traceback(exc.__traceback__)
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/_pytest/main.py", line 333, in pytest_collection
INTERNALERROR>session.perform_collect()
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/_pytest/main.py", line 637, in perform_collect
INTERNALERROR> hook.pytest_collection_modifyitems(
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__
INTERNALERROR>return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR>return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall
INTERNALERROR>returnoutcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result
INTERNALERROR> raise exc.with_traceback(exc.__traceback__)
INTERNALERROR> File "/home/kubunu/my_project/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/home/kubunu/my_project/conftest.py", line 354, in pytest_collection_modifyitems
INTERNALERROR> raise IndexError from exc
INTERNALERROR> IndexError
========================================================================================================== no tests ran in 0.03s ===========================================================================================================
Report successfully generated to /home/kubunu/my_project/report/allure_html
The text was updated successfully, but these errors were encountered:
pip3 install youqu-framework youqu-startproject my_project cd my_project bash env.sh youqu manage.py startapp autotest_my_app youqu manage.py run
执行报错
The text was updated successfully, but these errors were encountered: