feat(cli): add solve subcommand with profile + per-flag overrides + JSONL audit
This commit is contained in:
19
tests/test_cli.py
Normal file
19
tests/test_cli.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from typer.testing import CliRunner
|
||||
from markovian_rsa_mlx.cli import app
|
||||
|
||||
runner = CliRunner()
|
||||
|
||||
|
||||
def test_version_command_prints_version():
|
||||
result = runner.invoke(app, ["version"])
|
||||
assert result.exit_code == 0
|
||||
assert "0.1.0" in result.stdout
|
||||
|
||||
|
||||
def test_solve_help_shows_required_flags():
|
||||
result = runner.invoke(app, ["solve", "--help"])
|
||||
assert result.exit_code == 0
|
||||
assert "--model" in result.stdout
|
||||
assert "--rounds" in result.stdout
|
||||
assert "--parallel" in result.stdout
|
||||
assert "--audit" in result.stdout
|
||||
Reference in New Issue
Block a user