Python wrapper regression tests
Implementedv0.0.0
tests/python/test_cli.py
This test module focuses on the Python bridge contract rather than CUDA semantics. It mocks `resolve_core_binary()` and `subprocess.run()` to prove that `check`, `doctor --json`, and `doctor auto --json` are forwarded exactly as expected.
Reference
- Tests `check` forwarding.
- Tests `doctor --json` forwarding.
- Tests `doctor auto --json` forwarding.
Why it matters
The Python wrapper is intentionally thin, so argument-forwarding correctness is the main thing worth testing at this layer. These tests make sure the wrapper stays a transparent shim.