test(cli): remove unused variable in reason list json test

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Sameer Kadam
2026-05-31 15:59:29 +05:30
committed by GitHub
co-authored by Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
parent 188c81a89c
commit 98da904a06
-1
View File
@@ -645,7 +645,6 @@ class TestReason:
assert "rete" in result.output
def test_list_json(self, runner):
result = runner.invoke(main, ["reason", "list", "--json"])
# list command has no --json flag, output via cli_ctx.json_output
result2 = runner.invoke(main, ["--json", "reason", "list"])
_ok(result2)