mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-22 20:52:26 +01:00
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
Python tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
phone_deploy.sh runs python_pkg.phone_lease with whatever python3 is
first on PATH. e9ba82ed made it import kuhy_credit at module load, so
from a venv without kuhy-credit every phone deploy died with
ModuleNotFoundError. Both phone CLIs now take the epilog from
help_epilog(), which returns None when the package is missing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
782 B
JSON
13 lines
782 B
JSON
{
|
|
"title": "Phone CLIs survive a missing kuhy-credit",
|
|
"objective": "phone_deploy.sh calls python3 -m python_pkg.phone_lease with whatever python3 is on PATH. A missing kuhy-credit package must not crash the lease or the android_ui driver; the credit stays in --help whenever the package is present.",
|
|
"acceptance_criteria": [
|
|
"python -m python_pkg.phone_lease --help and python -m python_pkg.android_ui --help exit 0 with kuhy_credit blocked.",
|
|
"test_cli_credit.py still finds the credit line in both --help outputs when kuhy_credit is installed."
|
|
],
|
|
"out_of_scope": [
|
|
"The other ten credited CLIs, which are not started by phone tooling."
|
|
],
|
|
"verifier": "pytest python_pkg/phone_lease/tests/test_optional_credit.py python_pkg/tests/test_cli_credit.py"
|
|
}
|