mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 19:02:16 +00:00
Wire new display flags through the run command to print_full_results. --compact renders a single dense table; --trace-detail enables full per-step trace listing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
519 B
Python
20 lines
519 B
Python
"""Tests for eval CLI display flags."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from click.testing import CliRunner
|
|
|
|
from evals.cli import main
|
|
|
|
|
|
class TestCompactFlag:
|
|
def test_compact_flag_accepted(self):
|
|
runner = CliRunner()
|
|
result = runner.invoke(main, ["run", "--help"])
|
|
assert "--compact" in result.output
|
|
|
|
def test_trace_detail_flag_accepted(self):
|
|
runner = CliRunner()
|
|
result = runner.invoke(main, ["run", "--help"])
|
|
assert "--trace-detail" in result.output
|