| """CLI routing tests (non-interactive paths).""" | |
| from kinetic.cli import main | |
| def test_version(): | |
| assert main(["--version"]) == 0 | |
| def test_info(): | |
| assert main(["info"]) == 0 | |
| def test_demo_list_via_cli(): | |
| assert main(["demo", "list"]) == 0 | |
| def test_run_json(): | |
| code = main(["run", "-i", "Pick up the bottle", "--steps", "300", "--json"]) | |
| assert code == 0 | |