2026-04-01 09:17:21 -05:00
|
|
|
"""Tests for CodebuddyIntegration."""
|
|
|
|
|
|
2026-06-29 23:26:10 +08:00
|
|
|
from specify_cli.integrations import get_integration
|
|
|
|
|
|
2026-04-01 09:17:21 -05:00
|
|
|
from .test_integration_base_markdown import MarkdownIntegrationTests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestCodebuddyIntegration(MarkdownIntegrationTests):
|
|
|
|
|
KEY = "codebuddy"
|
|
|
|
|
FOLDER = ".codebuddy/"
|
|
|
|
|
COMMANDS_SUBDIR = "commands"
|
|
|
|
|
REGISTRAR_DIR = ".codebuddy/commands"
|
2026-06-29 23:26:10 +08:00
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
)
|