Finding
docs/base-cli.md documents base_cli.testing.invoke(...), but lib/python/base_cli/__init__.py does not import or export the testing module. A caller following the docs with import base_cli gets AttributeError: module 'base_cli' has no attribute 'testing'.
Acceptance Criteria
- The documented testing helper access pattern works, or the docs require explicit
from base_cli.testing import invoke.
- Add focused coverage so the package-level testing API/docs contract does not drift again.
- Existing
base_cli.testing direct imports continue to work.
Source
Verified from the ninth-pass Claude review against current main.
Finding
docs/base-cli.mddocumentsbase_cli.testing.invoke(...), butlib/python/base_cli/__init__.pydoes not import or export thetestingmodule. A caller following the docs withimport base_cligetsAttributeError: module 'base_cli' has no attribute 'testing'.Acceptance Criteria
from base_cli.testing import invoke.base_cli.testingdirect imports continue to work.Source
Verified from the ninth-pass Claude review against current
main.