WP-0001: feedback channels, CI, pre-commit, telemetry docs
Add kaizen-agentic feedback CLI, Gitea issue templates, CI workflow, pre-commit hooks, FEEDBACK/TELEMETRY docs, and cross-platform path tests. Improve CLI registry error messages; remove agents_backup scaffolding. Apply black formatting across src/tests for CI consistency. State Hub message sent to agentic-resources for Helix correlation doc link.
This commit is contained in:
27
tests/test_feedback_cli.py
Normal file
27
tests/test_feedback_cli.py
Normal file
@@ -0,0 +1,27 @@
|
||||
"""Tests for developer feedback CLI (WP-0001 T01)."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
|
||||
from click.testing import CliRunner
|
||||
|
||||
from kaizen_agentic.cli import cli
|
||||
|
||||
|
||||
def test_feedback_human_output():
|
||||
runner = CliRunner()
|
||||
result = runner.invoke(cli, ["feedback"])
|
||||
assert result.exit_code == 0
|
||||
assert "feedback channels" in result.output.lower()
|
||||
assert "gitea.coulomb.social" in result.output
|
||||
assert "bug report" in result.output.lower()
|
||||
|
||||
|
||||
def test_feedback_json_output():
|
||||
runner = CliRunner()
|
||||
result = runner.invoke(cli, ["feedback", "--json"])
|
||||
assert result.exit_code == 0
|
||||
payload = json.loads(result.output)
|
||||
assert "channels" in payload
|
||||
assert "bug_report" in payload["templates"]
|
||||
Reference in New Issue
Block a user