The tests in test_actions_applier.py should not fail when adding a new gent

未关闭 适合新手
#7,605 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
testing

调研方向

从 test_actions_applier.py 开始,特别是 test_other_agents_do_not_auto_apply,它应保留针对不自动应用的代理的显式一行。查找其他列举所有自动应用代理的测试,并将它们与代理的注册或加载方式进行比较。提交 370ed574 显示了被删除的内容。完成标准是:添加新代理时无需编辑这些列表,并且那一行有意的例外仍然通过测试。

由索引模型根据 Issue 内容生成。

描述

hackbot

Removed in 370ed574. One existing test, test_other_agents_do_not_auto_apply, lists every auto-applying agent and fails without perf-triage, so that one line stays.

Originally posted by @pslawless in #7349

主要语言
Python
星标
580
派生
373
平均合并
2 天 14 小时
30 天内合并 PR
159

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mozilla/bugbug 的其他 Issue

查看 mozilla/bugbug 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。