Problem
There is no tests/ tree; regressions in import order, gating, or env handling are caught only manually.
Goal
- Add a few offline tests: import selected modules with env patched/mocked, or subprocess smoke
python -c "import OPSIIE_0_3_80_XP" with minimal env (design around current Web3 coupling or land after lazy-Web3 issue).
- GitHub Action: run
pytest on PR/push to default branch; optional ruff/black --check if the team agrees.
Acceptance criteria
Problem
There is no
tests/tree; regressions in import order, gating, or env handling are caught only manually.Goal
python -c "import OPSIIE_0_3_80_XP"with minimal env (design around current Web3 coupling or land after lazy-Web3 issue).pyteston PR/push to default branch; optionalruff/black --checkif the team agrees.Acceptance criteria
pytestpasses in CI without real API keys or camera.