From dc06f6fa8e514a980def0d99fc94a78243b5d175 Mon Sep 17 00:00:00 2001 From: mikigo Date: Wed, 6 Nov 2024 13:47:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201=E3=80=81=E6=9B=B4=E6=96=B0README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 29 +++++++++--------- dde.csv | 92 +++++++++++++++++++++++++++---------------------------- ruff.toml | 90 ----------------------------------------------------- 3 files changed, 60 insertions(+), 151 deletions(-) delete mode 100644 ruff.toml diff --git a/README.md b/README.md index ce8f681..6bb33c9 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ -

- DDE Autotest for openEuler, based on YouQu. -

+# DDE Autotest Euler ----------------------- +DDE Autotest for openEuler, based on [YouQu](https://youqu.uniontech.com/). **openEuler** 系统 **DDE** 桌面自动化测试。 @@ -14,19 +12,18 @@ 2、虚拟机安装镜像 -3、配置欧拉 DDE 桌面环境 +3、进入系统后,通过以下步骤切换 DDE 桌面环境: -进入系统后,通过以下步骤切换 DDE 桌面环境: - -```shell -sudo yum install dde rsync +```bash +sudo yum install dde -y sudo systemctl set-default graphical.target -reboot +sudo reboot ``` +4、修改分辨率为:1920 x 1080 ## 环境部署 -以下所有操作在 DDE 桌面环境下进行,且`不在 root 用户下操作`, +以下所有操作在 DDE 桌面环境下进行,且**不在 root 用户下操作**, 建议新建一个普通管理员用户:**uos** @@ -78,11 +75,13 @@ youqu manage.py run 3、PR 的内容应当是有价值的,无关紧要的内容或非常简单的优化可以与其他内容一起提交。 -4、 提交的 PR 应当是独立的,不能影响其他文件的功能,不可影响其他用例的执行。 - -5、提交的代码应当注重规范性,提交前要对代码的格式与内容进行检查。 +4、提交的代码应当注重规范性,提交前要对代码的格式与内容进行检查。 ## 常见问题 Q: OCR识别、图像识别服务器不可用? -> A: OCR识别、图像识别等服务器仅对内网开放,外部可自行部署或者联系公司技术支持。 \ No newline at end of file +> A: OCR识别、图像识别等服务器仅对内网开放,外部可自行部署或者联系公司技术支持。 + +## 用例列表 + +[在线表格](https://doc.weixin.qq.com/sheet/e3_Ab8A1gYLABUA8lV99qfQWO7XU3Vhn?scode=AEoAsgdxAAYAl5RLlkAJgAbQaKAB8&tab=BB08J2) \ No newline at end of file diff --git a/dde.csv b/dde.csv index a3dcff3..32f7d20 100644 --- a/dde.csv +++ b/dde.csv @@ -1,46 +1,46 @@ -脚本ID,跳过原因,确认修复,废弃用例 -1270985,,, -1270989,,, -1271001,,, -1271009,,, -1271011,,, -1271027,,, -1271031,,, -1271033,,, -1271035,,, -1271037,,, -1271041,,, -1271055,,, -1271057,,, -1271059,,, -1271061,,, -1271073,,, -1271075,,, -1271077,,, -1271089,,, -1271091,,, -1271093,,, -1271123,,, -1271135,,, -1271153,,, -1271157,,, -1271159,,, -1271169,,, -1271199,,, -1271201,,, -1271213,,, -1271247,,, -1271293,,, -1271295,,, -1271297,,, -1271299,,, -1271301,,, -1271309,,, -1271311,,, -1271313,,, -1271315,,, -1271317,,, -1271319,,, -1271321,,, -1271327,,, -1271331,,, \ No newline at end of file +脚本ID,跳过原因,确认修复,废弃用例 +1270985,,, +1270989,,, +1271001,,, +1271009,,, +1271011,,, +1271027,,, +1271031,,, +1271033,,, +1271035,,, +1271037,,, +1271041,,, +1271055,,, +1271057,,, +1271059,,, +1271061,,, +1271073,,, +1271075,,, +1271077,,, +1271089,,, +1271091,,, +1271093,,, +1271123,,, +1271135,,, +1271153,,, +1271157,,, +1271159,,, +1271169,,, +1271199,,, +1271201,,, +1271213,,, +1271247,,, +1271293,,, +1271295,,, +1271297,,, +1271299,,, +1271301,,, +1271309,,, +1271311,,, +1271313,,, +1271315,,, +1271317,,, +1271319,,, +1271321,,, +1271327,,, +1271331,,, diff --git a/ruff.toml b/ruff.toml deleted file mode 100644 index d1a61de..0000000 --- a/ruff.toml +++ /dev/null @@ -1,90 +0,0 @@ -# Exclude a variety of commonly ignored directories. -exclude = [ - ".bzr", - ".direnv", - ".eggs", - ".git", - ".git-rewrite", - ".hg", - ".ipynb_checkpoints", - ".mypy_cache", - ".nox", - ".pants.d", - ".pyenv", - ".pytest_cache", - ".pytype", - ".ruff_cache", - ".svn", - ".tox", - ".venv", - ".vscode", - ".idea", - "__pypackages__", - "_build", - "buck-out", - "build", - "dist", - "node_modules", - "site-packages", - "venv", -] - -# Same as Black. -line-length = 100 -indent-width = 4 - -# Assume Python 3.7 -target-version = "py37" - -[lint] -# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. -# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or -# McCabe complexity (`C901`) by default. -select = ["E4", "E7", "E9", "F"] -ignore = [ - "E402", - "E711", - "E721", - "E722", - "E731", - "E712", - "F401", - "F403", - "F507", - "F541", - "F841", -] - -# Allow fix for all enabled rules (when `--fix`) is provided. -fixable = ["ALL"] -unfixable = [] - -# Allow unused variables when underscore-prefixed. -dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" - -[format] -# Like Black, use double quotes for strings. -quote-style = "double" - -# Like Black, indent with spaces, rather than tabs. -indent-style = "space" - -# Like Black, respect magic trailing commas. -skip-magic-trailing-comma = false - -# Like Black, automatically detect the appropriate line ending. -line-ending = "auto" - -# Enable auto-formatting of code examples in docstrings. Markdown, -# reStructuredText code/literal blocks and doctests are all supported. -# -# This is currently disabled by default, but it is planned for this -# to be opt-out in the future. -docstring-code-format = false - -# Set the line length limit used when formatting code snippets in -# docstrings. -# -# This only has an effect when the `docstring-code-format` setting is -# enabled. -docstring-code-line-length = "dynamic" \ No newline at end of file -- Gitee