Skip to content

Conversation

@OhYee
Copy link
Member

@OhYee OhYee commented Jan 8, 2026

… utility tests

Updated coverage configuration to enforce 95% branch and line coverage requirements across all modules, moved exclusion patterns to pyproject.toml, and added extensive test cases for merge utility functions including tuple, set, frozenset, and object merging with no_new_field parameter.

将覆盖率配置更新为在所有模块中强制执行 95% 的分支和行覆盖率要求,将排除模式移至 pyproject.toml,并为合并实用程序函数添加了广泛的测试用例,包括 tuple、set、frozenset 和对象合并以及 no_new_field 参数。

Change-Id: Id9ac7a7a5a23a5a36f6148b268d1c3822fc7764a

Thank you for creating a pull request to contribute to Serverless Devs agentrun-sdk-python code! Before you open the request please answer the following questions to help it be more easily integrated. Please check the boxes "[ ]" with "[x]" when done too.
Please select one of the PR types below to complete


Fix bugs

Bug detail

The specific manifestation of the bug or the associated issue.

Pull request tasks

  • Add test cases for the changes
  • Passed the CI test

Update docs

Reason for update

Why do you need to update your documentation?

Pull request tasks

  • Update Chinese documentation
  • Update English documentation

Add contributor

Contributed content

  • Code
  • Document

Content detail

if content_type == 'code' || content_type == 'document':
    please tell us `PR url`,like: https://github.com/Serverless-Devs/agentrun-sdk-python/pull/1
else:
    please describe your contribution in detail

Others

Reason for update

Why do you need to update your documentation?

OhYee added 2 commits January 8, 2026 19:10
… utility tests

Updated coverage configuration to enforce 95% branch and line coverage requirements across all modules, moved exclusion patterns to pyproject.toml, and added extensive test cases for merge utility functions including tuple, set, frozenset, and object merging with no_new_field parameter.

将覆盖率配置更新为在所有模块中强制执行 95% 的分支和行覆盖率要求,将排除模式移至 pyproject.toml,并为合并实用程序函数添加了广泛的测试用例,包括 tuple、set、frozenset 和对象合并以及 no_new_field 参数。

Change-Id: Id9ac7a7a5a23a5a36f6148b268d1c3822fc7764a
Signed-off-by: OhYee <[email protected]>
Consolidate test steps in CI workflow from separate unit tests and
coverage steps into a single test with coverage step. Update python
version from 0.0.9 to 3.10 in mypy configuration and exclude package
init file from coverage reporting. Fix typo in test file for credential
model.

fixes typo in credential test parameter name

ci: 合并测试步骤并更新python版本

在CI工作流程中将独立的单元测试和覆盖率步骤合并为单个带覆盖率的测试步骤。
在mypy配置中将python版本从0.0.9更新为3.10,并从覆盖率报告中排除包初始化文件。
修复测试文件中凭证模型的拼写错误。

修复凭证测试参数名称中的拼写错误

Change-Id: Icc362fb12d7cb67151bde40f391e631b0c9f9567
Signed-off-by: OhYee <[email protected]>
@OhYee OhYee enabled auto-merge (squash) January 8, 2026 11:34
@OhYee OhYee disabled auto-merge January 8, 2026 11:34
@OhYee OhYee merged commit 8bc2368 into main Jan 8, 2026
2 checks passed
@OhYee OhYee deleted the test-ut branch January 8, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants