mirror of
https://github.com/github/spec-kit.git
synced 2026-07-03 12:28:06 +08:00
* fix: update CodeBuddy install docs URL * test: assert codebuddy integration is registered before checking install_url --------- Co-authored-by: root <kinsonnee@gmail.com>
23 lines
674 B
Python
23 lines
674 B
Python
"""Tests for CodebuddyIntegration."""
|
|
|
|
from specify_cli.integrations import get_integration
|
|
|
|
from .test_integration_base_markdown import MarkdownIntegrationTests
|
|
|
|
|
|
class TestCodebuddyIntegration(MarkdownIntegrationTests):
|
|
KEY = "codebuddy"
|
|
FOLDER = ".codebuddy/"
|
|
COMMANDS_SUBDIR = "commands"
|
|
REGISTRAR_DIR = ".codebuddy/commands"
|
|
CONTEXT_FILE = "CODEBUDDY.md"
|
|
|
|
def test_install_url_points_to_official_cli_install_docs(self):
|
|
integration = get_integration(self.KEY)
|
|
assert integration is not None
|
|
|
|
assert (
|
|
integration.config["install_url"]
|
|
== "https://www.codebuddy.cn/docs/cli/installation"
|
|
)
|