Skip to content

[Feature] 让测试套件不依赖外网(补齐市场请求的 mock) #10058

Description

@lingyun14beta

功能描述

tests/test_dashboard.py::test_plugins 会真实访问在线插件市场,导致该用例的
结果取决于运行环境能否连上 api.soulter.top。建议补齐该处的 mock,使测试
套件在没有外网的环境下也能稳定运行。

使用场景

No response

检查清单

  • 我已在 Issue 列表中搜索过相关功能,确认该功能想法从未被提出过。
  • 我建议的功能与 AstrBot 本体相关,而非在建议某一插件的功能。
  • 我已阅读并同意本项目的贡献者行为准则
  • (可选)我愿意提交 PR 以帮助实现该功能。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions